作者 lyh

心跳设置

... ... @@ -87,6 +87,7 @@ class ReplaceHtmlLog extends Command
if($info['template_id'] == 0){
$bTemplateModel->formatQuery($condition)->update(['html' => DB::raw("REPLACE(html, '$old_html', '$html')")]);
}else{
echo json_encode($info);
$bTemplateModel->formatQuery($condition)
->update([
'main_html' => DB::raw("REPLACE(main_html, ?, ?)", [$old_html, $html]),
... ...