From 8c0b5b30e5200e7bd45aa34507c3623e17fcce91 Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期四, 24 八月 2023 13:47:24 +0800 Subject: [PATCH] 新增小程序积分列表 修改积分发放流程 --- springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/VolunteerActivitiesPeopleApi.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/VolunteerActivitiesPeopleApi.java b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/VolunteerActivitiesPeopleApi.java index fc46e28..970ce5e 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/VolunteerActivitiesPeopleApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/VolunteerActivitiesPeopleApi.java @@ -48,7 +48,7 @@ { return R.fail("活动id不能为空"); } - +getLoginUserInfo() if(StringUtils.isEmpty(communityId)) { communityId=getLoginUserInfo().getCommunityId()+""; @@ -70,14 +70,14 @@ return R.fail("参数不能为空"); } + if(StringUtils.isEmpty(volunteerActivitiesPeopleVO.getUserId())) + { + return R.fail("用户id不能为空"); + } + if(StringUtils.isEmpty(volunteerActivitiesPeopleVO.getActivityId())) { return R.fail("活动id不能为空"); - } - - if(StringUtils.isEmpty(volunteerActivitiesPeopleVO.getVolunteerId())) - { - return R.fail("志愿者id不能为空"); } if(StringUtils.isEmpty(volunteerActivitiesPeopleVO.getCommunityId())) -- Gitblit v1.7.1