正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -80,6 +80,7 @@ class ProductLogic extends BaseLogic | @@ -80,6 +80,7 @@ class ProductLogic extends BaseLogic | ||
| 80 | if(isset($this->param['keyword_id']) && !empty($this->param['keyword_id'])){ | 80 | if(isset($this->param['keyword_id']) && !empty($this->param['keyword_id'])){ |
| 81 | $this->param['keyword_id'] = $this->saveKeyword($this->param['keyword_id']); | 81 | $this->param['keyword_id'] = $this->saveKeyword($this->param['keyword_id']); |
| 82 | } | 82 | } |
| 83 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($this->param, true) . PHP_EOL, FILE_APPEND); | ||
| 83 | $this->model->edit($this->param,['id'=>$this->param['id']]); | 84 | $this->model->edit($this->param,['id'=>$this->param['id']]); |
| 84 | return $this->success(); | 85 | return $this->success(); |
| 85 | } | 86 | } |
-
请 注册 或 登录 后发表评论