正在显示
1 个修改的文件
包含
2 行增加
和
4 行删除
| @@ -125,10 +125,8 @@ class ProjectLogic extends BaseLogic | @@ -125,10 +125,8 @@ class ProjectLogic extends BaseLogic | ||
| 125 | } | 125 | } |
| 126 | $param['confirm_file'] = Arr::a2s($param['confirm_file']); | 126 | $param['confirm_file'] = Arr::a2s($param['confirm_file']); |
| 127 | } | 127 | } |
| 128 | - $filteredData = SupArr::only($param, $this->model->fillable); | ||
| 129 | - @file_put_contents(storage_path('logs/lyh_error.log'), var_export($filteredData, true) . PHP_EOL, FILE_APPEND); | ||
| 130 | - | ||
| 131 | - $this->model->edit($filteredData,['id'=>$param['id']]); | 128 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($param, true) . PHP_EOL, FILE_APPEND); |
| 129 | + $this->model->edit($param,['id'=>$param['id']]); | ||
| 132 | Common::del_user_cache($this->model->getTable(),$param['id']); | 130 | Common::del_user_cache($this->model->getTable(),$param['id']); |
| 133 | return $this->success(); | 131 | return $this->success(); |
| 134 | } | 132 | } |
-
请 注册 或 登录 后发表评论