| 12345678910111213141516171819202122232425262728293031323334353637 | 
							- <?php
 
- namespace App\Console\Commands;
 
- use App\Service\CustomerPondService;
 
- use App\Service\Weixin\WeixinService;
 
- use Illuminate\Console\Command;
 
- class WxArticle extends Command
 
- {
 
-     /**
 
-      * The console command description.
 
-      *
 
-      * @var string
 
-      */
 
-     protected $signature = 'command:getWxArticle';
 
-     protected $description = '';
 
-     public function __construct()
 
-     {
 
-         parent::__construct();
 
-     }
 
-     public function handle()
 
-     {
 
-         $service = new WeixinService();
 
-         list($status,$msg) = $service->getArticle();
 
-         echo $msg ?? 'success';
 
-     }
 
- }
 
 
  |