正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -130,10 +130,10 @@ class ProductLogic extends BaseLogic | @@ -130,10 +130,10 @@ class ProductLogic extends BaseLogic | ||
| 130 | $info = $this->model->read(['id'=>$id]); | 130 | $info = $this->model->read(['id'=>$id]); |
| 131 | if($info['status'] == Product::STATUS_RECYCLE){ | 131 | if($info['status'] == Product::STATUS_RECYCLE){ |
| 132 | $this->delRoute($id); | 132 | $this->delRoute($id); |
| 133 | - //删除当前产品模版 | ||
| 134 | - $this->delProductModule($id); | ||
| 135 | var_dump($id); | 133 | var_dump($id); |
| 136 | die(); | 134 | die(); |
| 135 | + //删除当前产品模版 | ||
| 136 | + $this->delProductModule($id); | ||
| 137 | $this->model->del(['id'=>$id]); | 137 | $this->model->del(['id'=>$id]); |
| 138 | }else{ | 138 | }else{ |
| 139 | //回收站 | 139 | //回收站 |
-
请 注册 或 登录 后发表评论