From 23214112187e68965cb9dbea2029b8d4e7d5ea8e Mon Sep 17 00:00:00 2001
From: lidongdong <1459917685@qq.com>
Date: 星期一, 15 七月 2024 17:55:14 +0800
Subject: [PATCH] 花城 【小程序】机关单位服务页面,排行范围选择本社区,该页面没有数据2
---
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoEventController.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoEventController.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoEventController.java
index 9f7c532..9995455 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoEventController.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoEventController.java
@@ -176,8 +176,8 @@
}
comEvent.setCommunityId(loginUserInfo.getCommunityId());
LoginUserInfoVO loginUserInfo1 = this.getLoginUserInfo();
-// loginUserInfo1.setType(userService.detailUser(this.getUserId()).getData().getType());
- loginUserInfo1.setType(loginUserInfo.getType());
+ loginUserInfo1.setType(userService.detailUser(this.getUserId()).getData().getType());
+// loginUserInfo1.setType(loginUserInfo.getType());
return comEventService.pageByComEvent(comEvent, pagination,loginUserInfo1);
}
@@ -339,7 +339,7 @@
@GetMapping("/status/calculate")
public R calculate(@RequestParam(value = "level",required = false)Integer level,@RequestParam(value = "id",required = false)Long id) {
LoginUserInfoVO loginUserInfo = getLoginUserInfo();
-// loginUserInfo.setType(userService.detailUser(loginUserInfo.getUserId()).getData().getType());
+ loginUserInfo.setType(userService.detailUser(loginUserInfo.getUserId()).getData().getType());
return comEventService.calculate(loginUserInfo,level,id);
}
--
Gitblit v1.7.1