正在显示
1 个修改的文件
包含
1 行增加
和
2 行删除
| @@ -175,8 +175,7 @@ class VisualizationLogic extends BaseLogic | @@ -175,8 +175,7 @@ class VisualizationLogic extends BaseLogic | ||
| 175 | */ | 175 | */ |
| 176 | public function saveHtml(){ | 176 | public function saveHtml(){ |
| 177 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export(11111, true) . PHP_EOL, FILE_APPEND); | 177 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export(11111, true) . PHP_EOL, FILE_APPEND); |
| 178 | - $page_array = $this->user['is_visualization']['page_array']; | ||
| 179 | - @file_put_contents(storage_path('logs/lyh_error.log'), var_export($page_array, true) . PHP_EOL, FILE_APPEND); | 178 | + $page_array = (array)$this->user['is_visualization']->page_array; |
| 180 | $type = $this->getType($this->param['source'],$this->param['source_id']); | 179 | $type = $this->getType($this->param['source'],$this->param['source_id']); |
| 181 | if(in_array($type,$page_array)){//定制页面 | 180 | if(in_array($type,$page_array)){//定制页面 |
| 182 | $bTemplateModel = new BTemplate(); | 181 | $bTemplateModel = new BTemplate(); |
-
请 注册 或 登录 后发表评论