|
@@ -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);
|