作者 lyh

心跳设置

@@ -87,7 +87,8 @@ class ReplaceHtmlLog extends Command @@ -87,7 +87,8 @@ 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 + echo json_encode($condition);
  91 + die();
91 $bTemplateModel->formatQuery($condition) 92 $bTemplateModel->formatQuery($condition)
92 ->update([ 93 ->update([
93 'main_html' => DB::raw("REPLACE(main_html, ?, ?)", [$old_html, $html]), 94 'main_html' => DB::raw("REPLACE(main_html, ?, ?)", [$old_html, $html]),