作者 lyh

gx

... ... @@ -107,12 +107,14 @@ class ProductLogic extends BaseLogic
if(!empty($extend)){
foreach ($extend as $v){
unset($v['title']);
if($v['type'] == 3 || $v['type'] || 4){
$v['values'] = str_replace_url($v['values']);
if(!empty($values)){
if($v['type'] == 3 || $v['type'] || 4){
$v['values'] = str_replace_url($v['values']);
}
$v['project_id'] = $this->user['project_id'];
$v['product_id'] = $id;
$extendInfoModel->add($v);
}
$v['project_id'] = $this->user['project_id'];
$v['product_id'] = $id;
$extendInfoModel->add($v);
}
}
return $this->success();
... ...