正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
| @@ -37,6 +37,9 @@ class WebSettingHtmlLogic extends BaseLogic | @@ -37,6 +37,9 @@ class WebSettingHtmlLogic extends BaseLogic | ||
| 37 | $info = $this->param; | 37 | $info = $this->param; |
| 38 | }else{ | 38 | }else{ |
| 39 | $info = $this->model->read(['project_id'=>$this->user['project_id']]); | 39 | $info = $this->model->read(['project_id'=>$this->user['project_id']]); |
| 40 | + if($info === false){ | ||
| 41 | + $info = []; | ||
| 42 | + } | ||
| 40 | } | 43 | } |
| 41 | return $this->success($info); | 44 | return $this->success($info); |
| 42 | } | 45 | } |
-
请 注册 或 登录 后发表评论