|
...
|
...
|
@@ -72,7 +72,7 @@ class AiBlogAutoPublish extends Command |
|
|
|
$this->output("项目{$project->id}未到推广时间" . $project->deploy_optimize['start_date']);
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
$next_auto_date = AiBlogTaskModel::where('project_id', $project->id)->where('type', 2)->whereNotNull('next_auto_date')->orderBy('id', 'desc')->value('next_auto_date');
|
|
|
|
$next_auto_date = AiBlogTaskModel::where('project_id', $project->id)->where('type', 2)->orderBy('id', 'desc')->value('next_auto_date');
|
|
|
|
if($next_auto_date && $next_auto_date > date('Y-m-d')){
|
|
|
|
$this->output("项目{$project->id}未到执行时间" . $next_auto_date);
|
|
|
|
continue;
|
...
|
...
|
|