作者 lyh

gx

... ... @@ -50,6 +50,9 @@ class ReplaceHtml extends Command
{
$replaceHtmlModel = new TemplateReplaceHtml();
$replaceHtmlList = $replaceHtmlModel->list(['status'=>$replaceHtmlModel::STATUS]);
if(empty($replaceHtmlList)){
return true;
}
foreach ($replaceHtmlList as $k => $v){
ProjectServer::useProject($v['project_id']);
echo '开始,任务id:'.$v['id'].PHP_EOL;
... ...