Browse Source

no message

FengChaoYu 1 tháng trước cách đây
mục cha
commit
0236c2b0c6

+ 3 - 3
src/main/java/com/gree/mall/manager/logic/common/CommonLogic.java

@@ -156,9 +156,9 @@ public class CommonLogic {
     public AdminUserCom websitAccount(AdminUserCom adminUserCom,HttpServletRequest request){
         String userId = adminUserCom.getAdminUserId();
         List<AdminUserWebsitRela> websitList = adminUserWebsitRelaService.lambdaQuery().eq(AdminUserWebsitRela::getAdminUserId, userId).list();
-        if(CollectionUtils.isEmpty(websitList)){
-            throw new RemoteServiceException("暂无授权,请联系管理员");
-        }
+//        if(CollectionUtils.isEmpty(websitList)){
+//            throw new RemoteServiceException("暂无授权,请联系管理员");
+//        }
         List<String> adminWebsitIds = websitList.stream().map(AdminUserWebsitRela::getAdminWebsitId).distinct().collect(Collectors.toList());
         List<String> companyWechatIds = websitList.stream().map(AdminUserWebsitRela::getCompanyWechatId).distinct().collect(Collectors.toList());
         adminUserCom.setCompanyWechatIds(companyWechatIds);