作者 lyh

gx脚本

@@ -13,6 +13,7 @@ use App\Models\Com\KeywordVideoTaskLog; @@ -13,6 +13,7 @@ use App\Models\Com\KeywordVideoTaskLog;
13 use App\Models\Domain\DomainInfo; 13 use App\Models\Domain\DomainInfo;
14 use Illuminate\Console\Command; 14 use Illuminate\Console\Command;
15 use Illuminate\Support\Facades\DB; 15 use Illuminate\Support\Facades\DB;
  16 +use Illuminate\Support\Facades\Log;
16 17
17 /** 18 /**
18 * @remark :通知C端生成界面 19 * @remark :通知C端生成界面
@@ -65,6 +66,7 @@ class Notice extends Command @@ -65,6 +66,7 @@ class Notice extends Command
65 } 66 }
66 foreach ($domainList as $v1){ 67 foreach ($domainList as $v1){
67 //TODO::通知C端 68 //TODO::通知C端
  69 + @file_put_contents(storage_path('logs/notice_c_'.date('Y-m-d').'.log'), var_export($v1['domain'], true) . PHP_EOL, FILE_APPEND);
68 $this->curlDelRoute($v1['domain'],$v1['project_id']); 70 $this->curlDelRoute($v1['domain'],$v1['project_id']);
69 } 71 }
70 return true; 72 return true;