<?php namespace App\Console\Commands; use App\Http\Services\DataService; use Illuminate\Console\Command; use Illuminate\Foundation\Inspiring; //设置供应商是否需要跟进 class RepairChannelUser extends Command { /** * The name and signature of the console command. * * @var string */ protected $signature = 'repair_channel_user'; /** * The console command description. * * @var string */ protected $description = 'Display an inspiring quote'; /** * Execute the console command. * * @return mixed */ public function handle() { $service = new DataService(); $service->repairChannelUser(); } }