作者 lyh

gx

@@ -74,7 +74,7 @@ class UserLogic extends BaseLogic @@ -74,7 +74,7 @@ class UserLogic extends BaseLogic
74 if(isset($this->param['image']) && is_file($this->param['image'])){ 74 if(isset($this->param['image']) && is_file($this->param['image'])){
75 $this->param['image'] = $this->upload(); 75 $this->param['image'] = $this->upload();
76 } 76 }
77 - $this->model->edits($this->param); 77 + $this->edits($this->param);
78 }catch (\exception $e){ 78 }catch (\exception $e){
79 $this->fail('参数错误或其他服务器原因,编辑失败'); 79 $this->fail('参数错误或其他服务器原因,编辑失败');
80 } 80 }