正在显示
1 个修改的文件
包含
4 行增加
和
4 行删除
| @@ -57,12 +57,12 @@ class ServiceLogic extends BaseLogic | @@ -57,12 +57,12 @@ class ServiceLogic extends BaseLogic | ||
| 57 | */ | 57 | */ |
| 58 | public function serviceSave(){ | 58 | public function serviceSave(){ |
| 59 | //删除以前的配置 | 59 | //删除以前的配置 |
| 60 | - try { | 60 | +// try { |
| 61 | $this->model->del(['type'=>1]); | 61 | $this->model->del(['type'=>1]); |
| 62 | $this->model->insert($this->param['data']); | 62 | $this->model->insert($this->param['data']); |
| 63 | - }catch (\Exception $e){ | ||
| 64 | - $this->fail('error'); | ||
| 65 | - } | 63 | +// }catch (\Exception $e){ |
| 64 | +// $this->fail('error'); | ||
| 65 | +// } | ||
| 66 | return $this->success(); | 66 | return $this->success(); |
| 67 | } | 67 | } |
| 68 | 68 |
-
请 注册 或 登录 后发表评论