店铺切换
This commit is contained in:
@@ -219,7 +219,7 @@ public class AuthorizationServiceImpl implements AuthorizationService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 主店铺切换子店铺
|
// 主店铺切换子店铺
|
||||||
if (!shopInfo.getMainId().equals(shopId)) {
|
if (shopInfo.getMainId() != null && !shopInfo.getMainId().equals(shopId)) {
|
||||||
throw new CzgException("目标店铺非登录账号所有");
|
throw new CzgException("目标店铺非登录账号所有");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user