|
@@ -77,7 +77,7 @@ class Suppler extends BaseController
|
|
|
$ticket_type = isset($this->post['ticket_type']) && $this->post['ticket_type']!==""? intval($this->post['ticket_type']) :"";
|
|
|
$legaler = isset($this->post['legaler']) && $this->post['legaler']!==""? trim($this->post['legaler']) :"";
|
|
|
$addr = isset($this->post['addr']) && $this->post['addr']!==""? trim($this->post['addr']) :"";
|
|
|
- $registerCode= isset($this->post['registerCode']) && $this->post['registerCode']!==""? intval($this->post['registerCode']) :"";
|
|
|
+ $registercode= isset($this->post['registercode']) && $this->post['registercode']!==""? trim($this->post['registercode']) :"";
|
|
|
$capital= isset($this->post['capital']) && $this->post['capital']!==""? intval($this->post['capital']) :"";
|
|
|
$product_category= isset($this->post['product_category']) && $this->post['product_category']!==""? trim($this->post['product_category']) :"";
|
|
|
$is_payment= isset($this->post['is_payment']) && $this->post['is_payment']!==""?trim($this->post['is_payment']) :"";
|
|
@@ -112,7 +112,7 @@ class Suppler extends BaseController
|
|
|
"level"=>$level,
|
|
|
"supplier_type"=>$supplier_type,
|
|
|
"pay_type"=>$pay_type,
|
|
|
- "registerCode"=>$registerCode,
|
|
|
+ "registercode"=>$registercode,
|
|
|
"capital"=>$capital,
|
|
|
"product_category"=>$product_category,
|
|
|
"is_payment"=>$is_payment,
|
|
@@ -139,8 +139,8 @@ class Suppler extends BaseController
|
|
|
"createrid"=>$createrid
|
|
|
];
|
|
|
if($supplier_img==""){
|
|
|
- if($registerCode==""){
|
|
|
- return error_show(1002,"参数registerCode不能为空");
|
|
|
+ if($registercode==""){
|
|
|
+ return error_show(1002,"参数registercode不能为空");
|
|
|
}
|
|
|
if($name==""){
|
|
|
return error_show(1002,"数据标题不能为空");
|
|
@@ -283,7 +283,7 @@ class Suppler extends BaseController
|
|
|
$ticket_type = isset($this->post['ticket_type']) && $this->post['ticket_type']!==""? trim($this->post['ticket_type']) :"";
|
|
|
$legaler = isset($this->post['legaler']) && $this->post['legaler']!==""? trim($this->post['legaler']) :"";
|
|
|
$addr = isset($this->post['addr']) && $this->post['addr']!==""? trim($this->post['addr']) :"";
|
|
|
- $registerCode= isset($this->post['registerCode']) && $this->post['registerCode']!==""? trim($this->post['registerCode']) :"";
|
|
|
+ $registercode= isset($this->post['registercode']) && $this->post['registercode']!==""? trim($this->post['registercode']) :"";
|
|
|
$capital= isset($this->post['capital']) && $this->post['capital']!==""? intval($this->post['capital']) :"";
|
|
|
$product_category= isset($this->post['product_category']) && $this->post['product_category']!==""? trim($this->post['product_category']) :"";
|
|
|
$is_payment= isset($this->post['is_payment']) && $this->post['is_payment']!==""?trim($this->post['is_payment']) :"";
|
|
@@ -317,7 +317,7 @@ class Suppler extends BaseController
|
|
|
"level"=>$level,
|
|
|
"supplier_type"=>$supplier_type,
|
|
|
"pay_type"=>$pay_type,
|
|
|
- "registerCode"=>$registerCode,
|
|
|
+ "registercode"=>$registercode,
|
|
|
"capital"=>$capital,
|
|
|
"product_category"=>$product_category,
|
|
|
"is_payment"=>$is_payment,
|
|
@@ -338,8 +338,8 @@ class Suppler extends BaseController
|
|
|
"prove_img"=>$prove_img
|
|
|
];
|
|
|
if($supplier_img==""){
|
|
|
- if($registerCode==""){
|
|
|
- return error_show(1002,"参数registerCode不能为空");
|
|
|
+ if($registercode==""){
|
|
|
+ return error_show(1002,"参数registercode不能为空");
|
|
|
}
|
|
|
if($name==""){
|
|
|
return error_show(1002,"数据标题不能为空");
|