正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -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]), |
-
请 注册 或 登录 后发表评论