|
@@ -925,9 +925,7 @@ class Goodup extends Base
|
|
|
if (isset($supplier_account[$data['supplierNo']])) return json_show(1004, '原供应商已开通账号,不允许操作');
|
|
|
}
|
|
|
$good_size = isset($this->post['good_size'])&&$this->post['good_size']!=""? trim($this->post['good_size']) :"";
|
|
|
- if($good_size==''){
|
|
|
- return error_show(1004,"参数good_size不能为空");
|
|
|
- }
|
|
|
+
|
|
|
$company_id = isset($this->post['company_id'])&&$this->post['company_id']!=""? trim($this->post['company_id']) :"";
|
|
|
if($company_id==''){
|
|
|
return error_show(1004,"参数company_id不能为空");
|
|
@@ -2412,9 +2410,6 @@ class Goodup extends Base
|
|
|
|
|
|
|
|
|
$good_size = isset($this->post['good_size'])&&$this->post['good_size']!=""? trim($this->post['good_size']) :"";
|
|
|
- if($good_size==''){
|
|
|
- return error_show(1004,"参数good_size不能为空");
|
|
|
- }
|
|
|
|
|
|
$is_auth = isset($this->post['is_auth'])&&$this->post['is_auth']!==""? intval($this->post['is_auth']):"";
|
|
|
if($is_auth===''){
|