From 1775bb71f952106c58657cf02891cbe2a286c8f8 Mon Sep 17 00:00:00 2001 From: 101captain <237651143@qq.com> Date: 星期三, 22 九月 2021 11:30:47 +0800 Subject: [PATCH] Merge branch 'test' of http://gitlab.nhys.cdnhxx.com/root/zhihuishequ into test --- springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/IndexApi.java | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/IndexApi.java b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/IndexApi.java index 11c5138..a03b347 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/IndexApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/IndexApi.java @@ -155,7 +155,7 @@ } comActMicroWishVO.setIsApplets(1); comActMicroWishVO.setIsPageMyWish(null); - return communityService.pageMicroWish(comActMicroWishVO); + return communityService.pageMicroWishApplets(comActMicroWishVO); } @ApiOperation("发布微心愿") @@ -355,6 +355,18 @@ return communityService.getUserReward(userId, communityId); } + @ApiOperation(value = "获取首页弹窗接口", response = ComActEasyPhotoRewardVO.class) + @GetMapping("getUserRewards") + public R getUserRewards(@RequestParam("communityId") Long communityId) { + Long userId = 0L; + LoginUserInfoVO loginUserInfo = this.getLoginUserInfoSureNoLogin(); + if (loginUserInfo != null) { + userId = loginUserInfo.getUserId(); + communityId = loginUserInfo.getCommunityId(); + } + return communityService.getUserRewards(userId, communityId); + } + @ApiOperation(value = "读取用户随手拍奖励") @PostMapping("readUserReward") public R readUserReward() { -- Gitblit v1.7.1