From beb8523b95753065e67a48f9d7134fda8565bc89 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 06 一月 2021 19:32:27 +0800 Subject: [PATCH] 活动添加后台完善 --- service-daylucky/src/main/java/com/ks/daylucky/controller/api/client/ActivityJoinController.java | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/service-daylucky/src/main/java/com/ks/daylucky/controller/api/client/ActivityJoinController.java b/service-daylucky/src/main/java/com/ks/daylucky/controller/api/client/ActivityJoinController.java index eee2ce6..1de58ee 100644 --- a/service-daylucky/src/main/java/com/ks/daylucky/controller/api/client/ActivityJoinController.java +++ b/service-daylucky/src/main/java/com/ks/daylucky/controller/api/client/ActivityJoinController.java @@ -10,6 +10,7 @@ import com.ks.daylucky.util.factory.vo.ActivityListItemInfoVOFactory; import com.ks.lucky.exception.LuckyActivityException; import com.ks.lucky.exception.LuckyActivityJoinException; +import com.ks.lucky.pojo.DO.LuckyActivityJoinRecord; import com.ks.lucky.pojo.DTO.*; import com.ks.lucky.remote.service.LuckyActivityAwardResultService; import com.ks.lucky.remote.service.LuckyActivityJoinService; @@ -30,10 +31,10 @@ @RequestMapping("api/client/activity/join") public class ActivityJoinController { - @Reference(version = "1.0.0") + @Reference(version = "1.0.0",check = false) private LuckyActivityJoinService luckyActivityJoinService; - @Reference(version = "1.0.0") + @Reference(version = "1.0.0",check = false) private LuckyActivityAwardResultService luckyActivityAwardResultService; @Resource @@ -147,7 +148,7 @@ public String getJoinerList(AcceptData acceptData, Long activityId, int page) { List<SimpleUser> voList = new ArrayList<>(); - List<ActivitySimpleUser> list = luckyActivityJoinService.getJoinerList(activityId, page, Constant.PAGE_SIZE); + List<ActivitySimpleUser> list = luckyActivityJoinService.getJoinerList(activityId,null, page, Constant.PAGE_SIZE); if (list != null && list.size() > 0) { Map<Long, UserInfo> userInfoMap = userInfoService.listUserInfoAsMap(UserInfoUtil.getBaseUserList(list)); for (ActivitySimpleUser info : list) { @@ -226,7 +227,7 @@ joinInfo.setAlipayUid(userInfo.getAlipayUid()); try { int weight = 1; - luckyActivityJoinService.join(activityId, acceptData.getApp().getId(), acceptData.getUid() + "", 1, joinInfo); + luckyActivityJoinService.join(activityId, acceptData.getApp().getId(), acceptData.getUid() + "", 1, joinInfo, LuckyActivityJoinRecord.USER_TYPE_REAL); //TODO 鎶藉娲诲姩鐨勭被鍨嬮渶瑕佹浛鎹� return JsonUtil.loadTrueResult(new JoinResultInfoVO(weight, String.format("娲诲姩鏈熷彿锛歂O.%s\n鎶藉娲诲姩", activityId))); -- Gitblit v1.8.0