Ver código fonte

新增用户须知获取信息

cgy 2 meses atrás
pai
commit
afd9f7ff4c

+ 1 - 0
zhsw-common/src/main/java/com/rongwei/zhsw/system/wechat/impl/AccountServiceImpl.java

@@ -152,6 +152,7 @@ public class AccountServiceImpl implements AccountService {
                 .last("LIMIT 1"));
         if (enterpriseConfig != null) {
             weChatHomePageVo.setEnterPriseAddress(enterpriseConfig.getAddress());
+            weChatHomePageVo.setUserNotice(enterpriseConfig.getUsernotices());
         }
         //获取微信标识
         String openId = WeChatUtils.getCurrentWeChatOpenId();

+ 5 - 0
zhsw-entity/src/main/java/com/rongwe/zhsw/system/domain/SwEnterpriseConfigInfoDo.java

@@ -136,4 +136,9 @@ public class SwEnterpriseConfigInfoDo extends BaseDo implements Serializable {
      * 是否开启在线缴费
      */
     private String whethertopayonline;
+
+    /**
+     * 企业用户须知
+     */
+    private String usernotices;
 }

+ 2 - 0
zhsw-entity/src/main/java/com/rongwe/zhsw/system/vo/WeChatHomePageVo.java

@@ -28,4 +28,6 @@ public class WeChatHomePageVo extends SwUserManagementDo {
     private List<SwNotificationAnnouncementDo> swNotificationAnnouncementDos;
     //用户消息
     private List<SysNotifyAnnounceUserDo> sysNotifyAnnounceUserDos;
+    //企业用户须知
+    private String userNotice;
 }