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