正在显示
1 个修改的文件
包含
8 行增加
和
0 行删除
| @@ -54,8 +54,16 @@ class KeywordLogic extends BaseLogic | @@ -54,8 +54,16 @@ class KeywordLogic extends BaseLogic | ||
| 54 | public function keywordSave(){ | 54 | public function keywordSave(){ |
| 55 | // DB::beginTransaction(); | 55 | // DB::beginTransaction(); |
| 56 | // try { | 56 | // try { |
| 57 | + | ||
| 57 | $this->param = $this->handleSaveParam($this->param); | 58 | $this->param = $this->handleSaveParam($this->param); |
| 59 | + if($this->user['project_id'] == 91){ | ||
| 60 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export('start:', true) . PHP_EOL, FILE_APPEND); | ||
| 61 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($this->param, true) . PHP_EOL, FILE_APPEND); | ||
| 62 | + } | ||
| 58 | if(isset($this->param['id']) && !empty($this->param['id'])){ | 63 | if(isset($this->param['id']) && !empty($this->param['id'])){ |
| 64 | + if($this->user['project_id'] == 91){ | ||
| 65 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export(11111, true) . PHP_EOL, FILE_APPEND); | ||
| 66 | + } | ||
| 59 | //TODO::不能修改路由 | 67 | //TODO::不能修改路由 |
| 60 | $this->model->edit($this->param,['id'=>$this->param['id']]); | 68 | $this->model->edit($this->param,['id'=>$this->param['id']]); |
| 61 | $route = RouteMap::getRoute(RouteMap::SOURCE_PRODUCT_KEYWORD,$this->param['id'], $this->user['project_id']); | 69 | $route = RouteMap::getRoute(RouteMap::SOURCE_PRODUCT_KEYWORD,$this->param['id'], $this->user['project_id']); |
-
请 注册 或 登录 后发表评论