正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -110,6 +110,7 @@ class BTemplateLogic extends BaseLogic | @@ -110,6 +110,7 @@ class BTemplateLogic extends BaseLogic | ||
| 110 | $TemplateInfo['html'] = $commonInfo['head_css'].$TemplateInfo['main_css'].$commonInfo['footer_css'].$commonInfo['other']. | 110 | $TemplateInfo['html'] = $commonInfo['head_css'].$TemplateInfo['main_css'].$commonInfo['footer_css'].$commonInfo['other']. |
| 111 | $commonInfo['head_html'].$TemplateInfo['main_html'].$commonInfo['footer_html']; | 111 | $commonInfo['head_html'].$TemplateInfo['main_html'].$commonInfo['footer_html']; |
| 112 | } | 112 | } |
| 113 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($TemplateInfo['html'], true) . PHP_EOL, FILE_APPEND); | ||
| 113 | $ATemplateModel = new Template(); | 114 | $ATemplateModel = new Template(); |
| 114 | $ATemplateInfo = $ATemplateModel->read(['id'=>$info['template_id']],['name','image']); | 115 | $ATemplateInfo = $ATemplateModel->read(['id'=>$info['template_id']],['name','image']); |
| 115 | $TemplateInfo['name'] = $ATemplateInfo['name']; | 116 | $TemplateInfo['name'] = $ATemplateInfo['name']; |
-
请 注册 或 登录 后发表评论