123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?php
- namespace App\Console\Commands;
- use Illuminate\Console\Command;
- use App\Modules\OfficialAccount\Services\OfficialAccountService;
- class ForBiddenOfficialAccountRemind extends Command
- {
-
- protected $signature = 'ForBiddenOfficialAccountRemind';
-
- protected $description = 'ForBiddenOfficialAccountRemind';
-
- public function __construct()
- {
- parent::__construct();
- }
-
- public function handle()
- {
- \Log::info("======公众号封号检测【任务执行开始】=====".date("y-m-d H:i:s"."\n"));
- $this->start();
- \Log::info("======公众号封号检测【任务执行结束】=====".date("y-m-d H:i:s"."\n"));
- }
- public function start(){
- OfficialAccountService::check_gzh_ban();
- }
- }
|