From d99a56e37cf9109b46ee68d34a06594ef5615ed3 Mon Sep 17 00:00:00 2001 From: 张天森 <1292933220@qq.com> Date: 星期四, 10 十一月 2022 16:06:05 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/huacheng_test' into huacheng_test --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoEventController.java | 20 +++++++++++++++++++- 1 files changed, 19 insertions(+), 1 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 a2b7e9c..e0ba75a 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 @@ -66,6 +66,7 @@ comEvent.setRequestUserId(loginUser.getUserId()); comEvent.setRequestUserName(loginUser.getName()); comEvent.setRequestUserTel(loginUser.getPhone()); + comEvent.setAppId(loginUser.getAppId()); return comEventService.insertComEvent(comEvent); } @@ -154,7 +155,6 @@ }) @PostMapping("/page") public R page(@RequestBody ComEventVO comEventVO, Long pageNo, Long pageSize) { - log.info("==============分页参数"+comEventVO); Page pagination = new Page(pageNo, pageSize); ComEvent comEvent = CopyUtil.copyProperties(comEventVO, ComEvent.class); return comEventService.pageByComEvent(comEvent, pagination,this.getLoginUserInfo()); @@ -337,4 +337,22 @@ public R eventIndexData(@RequestParam Integer type) { return comEventService.eventIndexData(type); } + + + /** + *可选街道列表 + * */ + @GetMapping("/streetList") + public R getStreetId(){ + return comEventService.listStreetScreen(); + } + + /** + *可选社区列表 + * */ + @GetMapping("/communityList") + public R getCommunityList(){ + return comEventService.listCommunityScreen(); + } + } -- Gitblit v1.7.1