作者 lyh

gx

@@ -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