Commit ed478306 by feixiang

异常报错处理

parent 7f171666
......@@ -66,7 +66,7 @@ class Split
$storeId = $data['userInfo']['storeId'];
if ( empty($storeId) ) {
if ( $storeId === null ) {
throw new CommonException(["msg" => "参数异常,获取店铺信息失败。"]);
}
return $storeId % $splitNum;
......
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