|
...
|
...
|
@@ -102,7 +102,7 @@ class ProductLogic extends BaseLogic |
|
|
|
public function saveExtendInfo($product_id,$extend){
|
|
|
|
//先删除以前的数据
|
|
|
|
$extendInfoModel = new ExtendInfo();
|
|
|
|
$extendInfoModel->del(['project_id'=>$this->user['project_id']]);
|
|
|
|
$extendInfoModel->del(['product_id'=>$product_id]);
|
|
|
|
if(empty($extend)) {
|
|
|
|
return $this->success();
|
|
|
|
}
|
...
|
...
|
|