正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
| @@ -155,6 +155,8 @@ class ProductLogic extends BaseLogic | @@ -155,6 +155,8 @@ class ProductLogic extends BaseLogic | ||
| 155 | $info = $this->model->read(['id'=>$this->param['id']]); | 155 | $info = $this->model->read(['id'=>$this->param['id']]); |
| 156 | $param = $this->setProductParams($info); | 156 | $param = $this->setProductParams($info); |
| 157 | $save_id = $this->model->insertGetId($param); | 157 | $save_id = $this->model->insertGetId($param); |
| 158 | + var_dump($save_id); | ||
| 159 | + die(); | ||
| 158 | //同步关联分类 | 160 | //同步关联分类 |
| 159 | CategoryRelated::saveRelated($save_id, $param['category_id']); | 161 | CategoryRelated::saveRelated($save_id, $param['category_id']); |
| 160 | //同步关联关键词 | 162 | //同步关联关键词 |
-
请 注册 或 登录 后发表评论