合并分支 'master-server' 到 'master'
Master server 查看合并请求 !895
正在显示
1 个修改的文件
包含
3 行增加
和
2 行删除
| @@ -360,7 +360,7 @@ class ProductLogic extends BaseLogic | @@ -360,7 +360,7 @@ class ProductLogic extends BaseLogic | ||
| 360 | if($info['status'] == Product::STATUS_RECYCLE){ | 360 | if($info['status'] == Product::STATUS_RECYCLE){ |
| 361 | $this->delRoute($id); | 361 | $this->delRoute($id); |
| 362 | //删除当前产品模版 | 362 | //删除当前产品模版 |
| 363 | - $this->delProductModule($id); | 363 | +// $this->delProductModule($id); |
| 364 | $this->model->del(['id'=>$id]); | 364 | $this->model->del(['id'=>$id]); |
| 365 | //删除关联表 | 365 | //删除关联表 |
| 366 | $cateRelate->del(['product_id'=>$id]); | 366 | $cateRelate->del(['product_id'=>$id]); |
| @@ -598,7 +598,8 @@ class ProductLogic extends BaseLogic | @@ -598,7 +598,8 @@ class ProductLogic extends BaseLogic | ||
| 598 | 'source' => BTemplate::SOURCE_PRODUCT, | 598 | 'source' => BTemplate::SOURCE_PRODUCT, |
| 599 | 'source_id' => $id, | 599 | 'source_id' => $id, |
| 600 | 'project_id'=>$this->user['project_id'], | 600 | 'project_id'=>$this->user['project_id'], |
| 601 | - 'is_list'=>0 | 601 | + 'is_list'=>0, |
| 602 | + 'is_custom'=>0 | ||
| 602 | ]; | 603 | ]; |
| 603 | $bTemplateModel = new BTemplate(); | 604 | $bTemplateModel = new BTemplate(); |
| 604 | $rs = $bTemplateModel->del($param); | 605 | $rs = $bTemplateModel->del($param); |
-
请 注册 或 登录 后发表评论