正在显示
1 个修改的文件
包含
4 行增加
和
4 行删除
| @@ -116,7 +116,7 @@ class BlogCategoryLogic extends BaseLogic | @@ -116,7 +116,7 @@ class BlogCategoryLogic extends BaseLogic | ||
| 116 | public function cateAdd(){ | 116 | public function cateAdd(){ |
| 117 | //拼接参数 | 117 | //拼接参数 |
| 118 | $this->param = $this->addParamProcessing($this->param); | 118 | $this->param = $this->addParamProcessing($this->param); |
| 119 | - try { | 119 | +// try { |
| 120 | $id = $this->model->addReturnId($this->param); | 120 | $id = $this->model->addReturnId($this->param); |
| 121 | //非顶级菜单处理子集 | 121 | //非顶级菜单处理子集 |
| 122 | if($this->param['pid'] != 0){ | 122 | if($this->param['pid'] != 0){ |
| @@ -139,9 +139,9 @@ class BlogCategoryLogic extends BaseLogic | @@ -139,9 +139,9 @@ class BlogCategoryLogic extends BaseLogic | ||
| 139 | } | 139 | } |
| 140 | } | 140 | } |
| 141 | } | 141 | } |
| 142 | - }catch (\Exception $e){ | ||
| 143 | - $this->fail('系统错误请联系管理员'); | ||
| 144 | - } | 142 | +// }catch (\Exception $e){ |
| 143 | +// $this->fail('系统错误请联系管理员'); | ||
| 144 | +// } | ||
| 145 | return $this->success($id); | 145 | return $this->success($id); |
| 146 | } | 146 | } |
| 147 | 147 |
-
请 注册 或 登录 后发表评论