From 82c69b99bb31dede23cde31eaf09f12f3e79f297 Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期四, 24 八月 2023 16:58:49 +0800 Subject: [PATCH] 新增小程序积分列表 修改积分发放流程 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoEventController.java | 12 +++++++----- 1 files changed, 7 insertions(+), 5 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 7937081..58cecc0 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 @@ -170,12 +170,14 @@ BeanUtils.copyProperties(comEventVO, comEvent); LoginUserInfoVO loginUserInfo = getLoginUserInfo(); if (isNull(comEventVO.getAppId())){ - String appId = userService.detailUser(loginUserInfo.getUserId()).getData().getAppId(); +// String appId = userService.detailUser(loginUserInfo.getUserId()).getData().getAppId(); + String appId = getAppId(); comEvent.setAppId(appId); } - LoginUserInfoVO loginUserInfo1 = this.getLoginUserInfo(); - loginUserInfo1.setType(userService.detailUser(loginUserInfo.getUserId()).getData().getType()); - return comEventService.pageByComEvent(comEvent, pagination,loginUserInfo1); +// LoginUserInfoVO loginUserInfo1 = this.getLoginUserInfo(); +// loginUserInfo1.setType(userService.detailUser(loginUserInfo.getUserId()).getData().getType()); +// loginUserInfo1.setType(loginUserInfo.getType()); + return comEventService.pageByComEvent(comEvent, pagination,loginUserInfo); } @@ -336,7 +338,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