|
@@ -167,6 +167,7 @@ class Goodup extends BaseController
|
|
|
// if($auth_img==''){
|
|
|
// return error_show(1004,"商品不能为空");
|
|
|
// }
|
|
|
+
|
|
|
$after_sales = isset($this->post['after_sales'])&&$this->post['after_sales']!=""? trim($this->post['after_sales']):"";
|
|
|
if($after_sales==""){
|
|
|
return error_show(1004,"参数after_sales不能为空");
|
|
@@ -232,7 +233,13 @@ class Goodup extends BaseController
|
|
|
if($is_stock===""){
|
|
|
return error_show(1004,"参数is_stock不能为空");
|
|
|
}
|
|
|
+ $is_diff = isset($this->post['is_diff'])&&$this->post['is_diff']!==""? intval($this->post['is_diff']):"";
|
|
|
+ if($is_diff===""){
|
|
|
+ return error_show(1004,"参数is_diff不能为空");
|
|
|
+ }
|
|
|
$good_img = isset($this->post['good_img'])&&$this->post['good_img']!==""? trim($this->post['good_img']):"";
|
|
|
+ $config = isset($this->post['config'])&&$this->post['config']!==""? trim($this->post['config']):"";
|
|
|
+ $other_config = isset($this->post['other_config'])&&$this->post['other_config']!==""? trim($this->post['other_config']):"";
|
|
|
// if($good_img===""){
|
|
|
// return error_show(1004,"参数good_img不能为空");
|
|
|
// }
|
|
@@ -333,6 +340,9 @@ class Goodup extends BaseController
|
|
|
"is_gold_price"=>$is_gold_price,
|
|
|
"market_price"=>$market_price,
|
|
|
"nake_price"=>$nake_price,
|
|
|
+ "is_diff"=>$is_diff,
|
|
|
+ "config"=>$config,
|
|
|
+ "other_config"=>$other_config,
|
|
|
"is_step"=>$is_step,
|
|
|
"is_online"=>0,
|
|
|
"status"=>0,
|