|
@@ -613,6 +613,7 @@ class Goodup extends Base
|
|
$config = isset($this->post['config'])&&$this->post['config']!==""? trim($this->post['config']):"";
|
|
$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']):"";
|
|
$other_config = isset($this->post['other_config'])&&$this->post['other_config']!==""? trim($this->post['other_config']):"";
|
|
$is_diff = isset($this->post['is_diff'])&&$this->post['is_diff']!==""? intval($this->post['is_diff']):"0";
|
|
$is_diff = isset($this->post['is_diff'])&&$this->post['is_diff']!==""? intval($this->post['is_diff']):"0";
|
|
|
|
+ $is_stock = isset($this->post['is_stock'])&&$this->post['is_stock']!==""? intval($this->post['is_stock']):"";
|
|
$good_img = isset($this->post['good_img'])&&$this->post['good_img']!=""? trim($this->post['good_img']):"";
|
|
$good_img = isset($this->post['good_img'])&&$this->post['good_img']!=""? trim($this->post['good_img']):"";
|
|
if($good_img===""){
|
|
if($good_img===""){
|
|
return error_show(1004,"参数good_img不能为空");
|
|
return error_show(1004,"参数good_img不能为空");
|
|
@@ -661,6 +662,7 @@ class Goodup extends Base
|
|
"lead_time"=>$lead_time,
|
|
"lead_time"=>$lead_time,
|
|
"sample_day"=>$sample_day,
|
|
"sample_day"=>$sample_day,
|
|
"is_diff"=>$is_diff,
|
|
"is_diff"=>$is_diff,
|
|
|
|
+ 'is_stock'=>$is_stock,
|
|
"config"=>$config,
|
|
"config"=>$config,
|
|
"other_config"=>$other_config,
|
|
"other_config"=>$other_config,
|
|
"good_img"=>$good_img,
|
|
"good_img"=>$good_img,
|
|
@@ -1587,6 +1589,7 @@ class Goodup extends Base
|
|
$config = isset($this->post['config'])&&$this->post['config']!==""? trim($this->post['config']):"";
|
|
$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']):"";
|
|
$other_config = isset($this->post['other_config'])&&$this->post['other_config']!==""? trim($this->post['other_config']):"";
|
|
$is_diff = isset($this->post['is_diff'])&&$this->post['is_diff']!==""? intval($this->post['is_diff']):"0";
|
|
$is_diff = isset($this->post['is_diff'])&&$this->post['is_diff']!==""? intval($this->post['is_diff']):"0";
|
|
|
|
+ $is_stock = isset($this->post['is_stock'])&&$this->post['is_stock']!==""? intval($this->post['is_stock']):"0";
|
|
// $is_step = isset($this->post['is_step'])&&$this->post['is_step']!==""? intval($this->post['is_step']):"";
|
|
// $is_step = isset($this->post['is_step'])&&$this->post['is_step']!==""? intval($this->post['is_step']):"";
|
|
// if($is_step===""){
|
|
// if($is_step===""){
|
|
// return error_show(1004,"参数is_step不能为空");
|
|
// return error_show(1004,"参数is_step不能为空");
|
|
@@ -1638,6 +1641,7 @@ class Goodup extends Base
|
|
"is_diff"=>$is_diff,
|
|
"is_diff"=>$is_diff,
|
|
"config"=>$config,
|
|
"config"=>$config,
|
|
"other_config"=>$other_config,
|
|
"other_config"=>$other_config,
|
|
|
|
+ "is_stock"=>$is_stock,
|
|
"cost_fee"=>$cost_fee,
|
|
"cost_fee"=>$cost_fee,
|
|
"mark_fee"=>$mark_fee,
|
|
"mark_fee"=>$mark_fee,
|
|
"demo_fee"=>$demo_fee,
|
|
"demo_fee"=>$demo_fee,
|