WxArticle.php 537 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. namespace App\Console\Commands;
  3. use App\Service\CustomerPondService;
  4. use App\Service\Weixin\WeixinService;
  5. use Illuminate\Console\Command;
  6. class WxArticle extends Command
  7. {
  8. /**
  9. * The console command description.
  10. *
  11. * @var string
  12. */
  13. protected $signature = 'command:';
  14. protected $description = '';
  15. public function __construct()
  16. {
  17. parent::__construct();
  18. }
  19. public function handle()
  20. {
  21. $service = new WeixinService();
  22. $service->getArticle();
  23. }
  24. }