‘linchangsheng’ 1 周之前
父節點
當前提交
3e337acd3d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/gree/mall/miniapp/logic/common/CommonLogic.java

+ 1 - 1
src/main/java/com/gree/mall/miniapp/logic/common/CommonLogic.java

@@ -115,7 +115,7 @@ public class CommonLogic {
         currentCompanyWechat.setUser(user);
 
 
-        if (user == null || !StringUtil.isEmpty(user.getWebsitId())) {
+        if (user != null && !StringUtil.isEmpty(user.getWebsitId())) {
             AdminWebsit adminWebsit = adminWebsitService.getById(user.getWebsitId());
             currentCompanyWechat.setAdminWebsit(adminWebsit);
         }