springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/controller/BaseController.java
@@ -65,9 +65,9 @@ public Long getCommunityId() { LoginUserInfoVO loginUserInfo = this.getLoginUserInfo(); Long communityId = loginUserInfo.getCommunityId(); if (null == communityId) { throw new ServiceException("用户未绑定社区"); } // if (null == communityId) { // throw new ServiceException("用户未绑定社区"); // } return communityId; } @@ -140,6 +140,9 @@ public String getAppId(){ String appid = this.getRequest().getHeader("appid"); if(StringUtils.isEmpty(appid)){ return "wx0cef797390444b75"; } return appid; }