正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -60,6 +60,7 @@ class KeywordLogic extends BaseLogic | @@ -60,6 +60,7 @@ class KeywordLogic extends BaseLogic | ||
| 60 | $this->param['project_id'] = $this->user['project_id']; | 60 | $this->param['project_id'] = $this->user['project_id']; |
| 61 | $this->param['created_at'] = date('Y-m-d H:i:s'); | 61 | $this->param['created_at'] = date('Y-m-d H:i:s'); |
| 62 | $this->param['updated_at'] = $this->param['created_at']; | 62 | $this->param['updated_at'] = $this->param['created_at']; |
| 63 | + $this->param['route'] = $this->param['route'].'-'.RouteMap::SOURCE_PRODUCT; | ||
| 63 | $id = $this->model->insertGetId($this->param); | 64 | $id = $this->model->insertGetId($this->param); |
| 64 | //路由映射 | 65 | //路由映射 |
| 65 | $route = RouteMap::setRoute($this->param['title'], RouteMap::SOURCE_PRODUCT_KEYWORD, $id, $this->user['project_id']); | 66 | $route = RouteMap::setRoute($this->param['title'], RouteMap::SOURCE_PRODUCT_KEYWORD, $id, $this->user['project_id']); |
-
请 注册 或 登录 后发表评论