|
|
@@ -135,6 +135,7 @@ class LowPriceGoods extends Controller
|
|
|
$all_data['store_scope'] = $store_scope;
|
|
|
$company_scope = request('company_scope', '');
|
|
|
$all_data['company_scope'] = $company_scope;
|
|
|
+ if ($company_scope && !is_string($company_scope)) return json_send(['code' => 'error', 'msg' => '公司范围参数错误']);
|
|
|
$category_id = request('category_id', '');
|
|
|
$all_data['category_id'] = $category_id;
|
|
|
$specify_responsible_person = request('specify_responsible_person', '0');
|
|
|
@@ -180,6 +181,7 @@ class LowPriceGoods extends Controller
|
|
|
$store_scope = request('store_scope', '');
|
|
|
$all_data['store_scope'] = $store_scope;
|
|
|
$company_scope = request('company_scope', '');
|
|
|
+ if ($company_scope && !is_string($company_scope)) return json_send(['code' => 'error', 'msg' => '公司范围参数错误']);
|
|
|
$all_data['company_scope'] = $company_scope;
|
|
|
$category_id = request('category_id', '');
|
|
|
$all_data['category_id'] = $category_id;
|