Commit 677757bc by feixiang

判断storeId是否为空

parent 12fb690d
......@@ -119,7 +119,7 @@ class CommonEntity extends Model
$user = App::getBean(User::class);
$store = $user->getStoreId();
if ( empty($store) ) {
if ( $store === null && $store === [] && $store === '' ) {
throw new Exception("店铺id获取失败");
}
......
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