Commit 256d212e authored by hangjun83's avatar hangjun83

百化产品接口更新

parent 14c59e58
......@@ -51,6 +51,7 @@ class BhuaProductsService
if(!isset($params['brand_id']) || empty($params['brand_id'])){
throw new \Exception('品牌id必传',502);
}
$params = intval($params['brand_id']);
if(!in_array($params['brand_id'],[40,1,10,108,42])){
throw new \Exception('品牌id不在授权范围之内',502);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment