|
...
|
...
|
@@ -57,12 +57,12 @@ class ServiceLogic extends BaseLogic |
|
|
|
*/
|
|
|
|
public function serviceSave(){
|
|
|
|
//删除以前的配置
|
|
|
|
try {
|
|
|
|
// try {
|
|
|
|
$this->model->del(['type'=>1]);
|
|
|
|
$this->model->insert($this->param['data']);
|
|
|
|
}catch (\Exception $e){
|
|
|
|
$this->fail('error');
|
|
|
|
}
|
|
|
|
// }catch (\Exception $e){
|
|
|
|
// $this->fail('error');
|
|
|
|
// }
|
|
|
|
return $this->success();
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|