|
...
|
...
|
@@ -64,7 +64,7 @@ class ReplaceHtml extends Command |
|
|
|
$replaceHtmlList = $replaceHtmlModel->list(['status'=>$replaceHtmlModel::STATUS]);
|
|
|
|
if(empty($replaceHtmlList)){
|
|
|
|
sleep(100);
|
|
|
|
return true;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
foreach ($replaceHtmlList as $v){
|
|
|
|
ProjectServer::useProject($v['project_id']);
|
|
...
|
...
|
@@ -79,6 +79,7 @@ class ReplaceHtml extends Command |
|
|
|
echo '结束'.PHP_EOL;
|
|
|
|
DB::disconnect('custom_mysql');
|
|
|
|
}
|
|
|
|
sleep(50);
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
...
|
...
|
|