From 53d8100734cbc27ace06b5361ef696b90d3091d6 Mon Sep 17 00:00:00 2001 From: wangw <1594593906@qq.com> Date: Mon, 15 Dec 2025 15:37:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=97=E9=93=BA=E5=88=87=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/account/service/impl/AuthorizationServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cash-service/account-service/src/main/java/com/czg/service/account/service/impl/AuthorizationServiceImpl.java b/cash-service/account-service/src/main/java/com/czg/service/account/service/impl/AuthorizationServiceImpl.java index 80f8e9549..ee2fe7c83 100644 --- a/cash-service/account-service/src/main/java/com/czg/service/account/service/impl/AuthorizationServiceImpl.java +++ b/cash-service/account-service/src/main/java/com/czg/service/account/service/impl/AuthorizationServiceImpl.java @@ -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("目标店铺非登录账号所有"); }