Merge remote-tracking branch 'origin/master' into akun
正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
| @@ -154,6 +154,9 @@ class ProductLogic extends BaseLogic | @@ -154,6 +154,9 @@ class ProductLogic extends BaseLogic | ||
| 154 | }else{ | 154 | }else{ |
| 155 | $this->param['thumb'] = Arr::a2s([]); | 155 | $this->param['thumb'] = Arr::a2s([]); |
| 156 | } | 156 | } |
| 157 | + if(isset($this->param['route']) && !empty($this->param['route'])){ | ||
| 158 | + $this->param['route'] = RouteMap::setRoute($this->param['route'], RouteMap::SOURCE_PRODUCT, $this->param['id'], $this->user['project_id']); | ||
| 159 | + } | ||
| 157 | $this->model->edit($this->param,['id'=>$this->param['id']]); | 160 | $this->model->edit($this->param,['id'=>$this->param['id']]); |
| 158 | return $this->success(); | 161 | return $this->success(); |
| 159 | } | 162 | } |
-
请 注册 或 登录 后发表评论