作者 lyh

gx脚本导出产品

... ... @@ -39,7 +39,7 @@ class AiBlogTask extends Command
$aiBlogTaskModel = new AiBlogTaskModel();
while (true){
$info = $aiBlogTaskModel->where('status',1)->orderBy('id','asc')->first();
if($info === false){
if(empty($info)){
sleep(30);
continue;
}
... ...
... ... @@ -260,4 +260,5 @@ class SuppliersController extends BaseController
$res = $this->_action($api_url,$action_name,$param);
$this->response('success',Code::SUCCESS,$res);
}
}
... ...