正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
| @@ -230,7 +230,8 @@ class ProjectLogic extends BaseLogic | @@ -230,7 +230,8 @@ class ProjectLogic extends BaseLogic | ||
| 230 | $param['upload_config'] = json_encode($param['upload_config'] ?? []); | 230 | $param['upload_config'] = json_encode($param['upload_config'] ?? []); |
| 231 | $param['web_traffic_config'] = json_encode($param['web_traffic_config'] ?? []); | 231 | $param['web_traffic_config'] = json_encode($param['web_traffic_config'] ?? []); |
| 232 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export($param, true) . PHP_EOL, FILE_APPEND); | 232 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export($param, true) . PHP_EOL, FILE_APPEND); |
| 233 | - $this->model->edit($param,['id'=>$param['id']]); | 233 | + $rs = $this->model->edit($param,['id'=>$param['id']]); |
| 234 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($rs, true) . PHP_EOL, FILE_APPEND); | ||
| 234 | Common::del_user_cache($this->model->getTable(),$param['id']); | 235 | Common::del_user_cache($this->model->getTable(),$param['id']); |
| 235 | return $this->success(); | 236 | return $this->success(); |
| 236 | } | 237 | } |
-
请 注册 或 登录 后发表评论