|
|
@ -51,6 +51,44 @@ public class ApiVolunteerRankController { |
|
|
|
return appVolunteerRankService.getAppVolunteerOrgList(); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @describe: 志愿活动-申请(新增修改) |
|
|
|
* @author wangtong |
|
|
|
* @date 2021/9/3 9:48 |
|
|
|
* @params [userDetail, formDto] |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result |
|
|
|
*/ |
|
|
|
@PostMapping("applyActivity") |
|
|
|
public Result applyActivity(@LoginUser TokenDto userDetail, @RequestBody AppVactApplyDTO formDto) { |
|
|
|
return appVolunteerRankService.applyActivity(userDetail, formDto); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @describe: 志愿活动-活动列表 |
|
|
|
* @author wangtong |
|
|
|
* @date 2021/9/3 9:56 |
|
|
|
* @params [userDetail, dto] |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result |
|
|
|
*/ |
|
|
|
@GetMapping("getActivityList") |
|
|
|
public Result getActivityList(@LoginUser TokenDto userDetail, AppPageParamsDTO dto) { |
|
|
|
return appVolunteerRankService.getActivityList(userDetail , dto); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @describe: 志愿活动-详情 |
|
|
|
* @author wangtong |
|
|
|
* @date 2021/9/3 9:57 |
|
|
|
* @params [userDetail, vactId] |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result |
|
|
|
*/ |
|
|
|
@GetMapping("getActivityDetail") |
|
|
|
public Result getActivityDetail(AppVactApplyDTO dto) { |
|
|
|
return appVolunteerRankService.getActivityDetail( dto); |
|
|
|
} |
|
|
|
|
|
|
|
//-------------------------社会组织相关
|
|
|
|
|
|
|
|
/** |
|
|
|
* @describe: 小程序-志愿者申请 |
|
|
|
* @author wangtong |
|
|
@ -71,45 +109,80 @@ public class ApiVolunteerRankController { |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result |
|
|
|
*/ |
|
|
|
@GetMapping("getVolunteerDetail") |
|
|
|
public Result getVolunteerDetail(@LoginUser TokenDto userDetail) { |
|
|
|
return appVolunteerRankService.getVolunteerDetail(userDetail); |
|
|
|
public Result getVolunteerDetail(@LoginUser TokenDto userDetail,AppVolunteerApplyDTO formDto) { |
|
|
|
return appVolunteerRankService.getVolunteerDetail(userDetail ,formDto); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @describe: 小程序-社会组织-审核认证 |
|
|
|
* @author wangtong |
|
|
|
* @date 2021/8/29 11:22 |
|
|
|
* @params [dto] |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result |
|
|
|
*/ |
|
|
|
@PostMapping("handleApply") |
|
|
|
public Result handleApply(@RequestBody VolunteerDTO dto){ |
|
|
|
return appVolunteerRankService.handleApply(dto); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @describe: 志愿活动-申请(新增修改) |
|
|
|
* @describe: 小程序-社会组织-组织分类列表 |
|
|
|
* @author wangtong |
|
|
|
* @date 2021/9/3 9:48 |
|
|
|
* @params [userDetail, formDto] |
|
|
|
* @date 2021/9/26 15:24 |
|
|
|
* @params [formDto] |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result |
|
|
|
*/ |
|
|
|
@PostMapping("applyActivity") |
|
|
|
public Result applyActivity(@LoginUser TokenDto userDetail, @RequestBody AppVactApplyDTO formDto) { |
|
|
|
return appVolunteerRankService.applyActivity(userDetail, formDto); |
|
|
|
@GetMapping("getOrgTypeList") |
|
|
|
public Result getOrgTypeList() { |
|
|
|
return appVolunteerRankService.getOrgTypeList(); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @describe: 志愿活动-活动列表 |
|
|
|
* @describe: 小程序-社会组织-组织列表 |
|
|
|
* @author wangtong |
|
|
|
* @date 2021/9/3 9:56 |
|
|
|
* @params [userDetail, dto] |
|
|
|
* @date 2021/9/26 15:24 |
|
|
|
* @params [formDto] |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result |
|
|
|
*/ |
|
|
|
@GetMapping("getActivityList") |
|
|
|
public Result getActivityList(@LoginUser TokenDto userDetail, AppPageParamsDTO dto) { |
|
|
|
return appVolunteerRankService.getActivityList(userDetail , dto); |
|
|
|
@GetMapping("getOrgListByType") |
|
|
|
public Result getOrgListByType( AppVorgFormDTO formDto) { |
|
|
|
return appVolunteerRankService.getOrgListByType(formDto); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @describe: 志愿活动-详情 |
|
|
|
* @describe: 小程序-社会组织-组织详情 |
|
|
|
* @author wangtong |
|
|
|
* @date 2021/9/3 9:57 |
|
|
|
* @params [userDetail, vactId] |
|
|
|
* @date 2021/9/26 15:24 |
|
|
|
* @params [formDto] |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result |
|
|
|
*/ |
|
|
|
@GetMapping("getActivityDetail") |
|
|
|
public Result getActivityDetail(AppVactApplyDTO dto) { |
|
|
|
return appVolunteerRankService.getActivityDetail( dto); |
|
|
|
@GetMapping("getOrgDetail") |
|
|
|
public Result getOrgDetail(@LoginUser TokenDto userDetail, AppVorgFormDTO formDto) { |
|
|
|
return appVolunteerRankService.getOrgDetail(userDetail ,formDto); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @describe: 小程序-社会组织-组织详情列表 |
|
|
|
* @author wangtong |
|
|
|
* @date 2021/9/26 15:24 |
|
|
|
* @params [formDto] |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result |
|
|
|
*/ |
|
|
|
@GetMapping("getOrgDetailList") |
|
|
|
public Result getOrgDetailList( AppVorgFormDTO formDto) { |
|
|
|
return appVolunteerRankService.getOrgDetailList(formDto); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @describe: 小程序-社会组织-成员管理列表 |
|
|
|
* @author wangtong |
|
|
|
* @date 2021/9/26 15:24 |
|
|
|
* @params [formDto] |
|
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result |
|
|
|
*/ |
|
|
|
@GetMapping("getVolunteerList") |
|
|
|
public Result getVolunteerList( AppVorgFormDTO formDto) { |
|
|
|
return appVolunteerRankService.getVolunteerList(formDto); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|