店铺切换

This commit is contained in:
2025-12-15 15:37:21 +08:00
parent 2da283d4f3
commit 53d8100734

View File

@@ -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("目标店铺非登录账号所有");
}