正在显示
1 个修改的文件
包含
1 行增加
和
2 行删除
| @@ -75,10 +75,9 @@ class BTemplateLogic extends BaseLogic | @@ -75,10 +75,9 @@ class BTemplateLogic extends BaseLogic | ||
| 75 | if($templateInfo === false){ | 75 | if($templateInfo === false){ |
| 76 | if($this->user['is_customized'] == BTemplate::IS_VISUALIZATION){//处理定制页面初始数据 | 76 | if($this->user['is_customized'] == BTemplate::IS_VISUALIZATION){//处理定制页面初始数据 |
| 77 | $html = $this->isCustomizedPage($this->param['source'],$is_list);//获取定制页面的html | 77 | $html = $this->isCustomizedPage($this->param['source'],$is_list);//获取定制页面的html |
| 78 | + if(!empty($html)){ | ||
| 78 | return $this->success(['html'=>$html,'template_id'=>$template_id]); | 79 | return $this->success(['html'=>$html,'template_id'=>$template_id]); |
| 79 | } | 80 | } |
| 80 | - if($this->user['project_id'] == 214){ | ||
| 81 | - @file_put_contents(storage_path('logs/lyh_error.log'), var_export(222222, true) . PHP_EOL, FILE_APPEND); | ||
| 82 | } | 81 | } |
| 83 | $mainInfo = $this->getMAinHtml($this->param['source'],$is_custom,$is_list);//获取中间部分代码 | 82 | $mainInfo = $this->getMAinHtml($this->param['source'],$is_custom,$is_list);//获取中间部分代码 |
| 84 | }else{ | 83 | }else{ |
-
请 注册 或 登录 后发表评论