作者 lyh

心跳设置

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