正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -102,7 +102,7 @@ class ProductLogic extends BaseLogic | @@ -102,7 +102,7 @@ class ProductLogic extends BaseLogic | ||
| 102 | public function saveExtendInfo($product_id,$extend){ | 102 | public function saveExtendInfo($product_id,$extend){ |
| 103 | //先删除以前的数据 | 103 | //先删除以前的数据 |
| 104 | $extendInfoModel = new ExtendInfo(); | 104 | $extendInfoModel = new ExtendInfo(); |
| 105 | - $extendInfoModel->del(['project_id'=>$this->user['project_id']]); | 105 | + $extendInfoModel->del(['product_id'=>$product_id]); |
| 106 | if(empty($extend)) { | 106 | if(empty($extend)) { |
| 107 | return $this->success(); | 107 | return $this->success(); |
| 108 | } | 108 | } |
-
请 注册 或 登录 后发表评论