作者 lyh

gx

@@ -72,7 +72,7 @@ class ReplaceHtml extends Command @@ -72,7 +72,7 @@ class ReplaceHtml extends Command
72 $count = $this->createReplaceHtmlLog($v); 72 $count = $this->createReplaceHtmlLog($v);
73 } 73 }
74 //修改当前主任务状态为待执行 74 //修改当前主任务状态为待执行
75 - $replaceHtmlModel->edit(['status'=>$replaceHtmlModel::STATUS_START,'count'=>$count],['id'=>$v['id']]); 75 + $replaceHtmlModel->edit(['status'=>$replaceHtmlModel::STATUS_START,'total_num'=>$count],['id'=>$v['id']]);
76 echo '结束'.PHP_EOL; 76 echo '结束'.PHP_EOL;
77 DB::disconnect('custom_mysql'); 77 DB::disconnect('custom_mysql');
78 } 78 }