|
@ -1,7 +1,7 @@ |
|
|
package com.elink.esua.epdc.controller; |
|
|
package com.elink.esua.epdc.controller; |
|
|
|
|
|
|
|
|
import com.elink.esua.epdc.common.token.annotation.LoginUser; |
|
|
|
|
|
import com.elink.esua.epdc.common.token.dto.TokenDto; |
|
|
import com.elink.esua.epdc.common.token.dto.TokenDto; |
|
|
|
|
|
import com.elink.esua.epdc.commons.tools.annotation.LoginUser; |
|
|
import com.elink.esua.epdc.commons.tools.utils.ConvertUtils; |
|
|
import com.elink.esua.epdc.commons.tools.utils.ConvertUtils; |
|
|
import com.elink.esua.epdc.commons.tools.utils.Result; |
|
|
import com.elink.esua.epdc.commons.tools.utils.Result; |
|
|
import com.elink.esua.epdc.dto.result.EpdcAppVolunteerRankDTO; |
|
|
import com.elink.esua.epdc.dto.result.EpdcAppVolunteerRankDTO; |
|
@ -54,24 +54,24 @@ public class ApiVolunteerRankController { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @describe: 小程序-志愿者申请 |
|
|
* @describe: 小程序-志愿者申请 |
|
|
* @author wangtong |
|
|
* @author wangtong |
|
|
* @date 2021/8/30 10:43 |
|
|
* @date 2021/8/30 10:43 |
|
|
* @params [userDetail, formDto] |
|
|
* @params [userDetail, formDto] |
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result |
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result |
|
|
*/ |
|
|
*/ |
|
|
@PostMapping("applyVolunteer") |
|
|
@PostMapping("applyVolunteer") |
|
|
public Result applyVolunteer(@LoginUser TokenDto userDetail, @RequestBody AppVolunteerApplyDTO formDto) { |
|
|
public Result applyVolunteer(@LoginUser TokenDto userDetail, @RequestBody AppVolunteerApplyDTO formDto) { |
|
|
return appVolunteerRankService.applyVolunteer(userDetail, formDto); |
|
|
return appVolunteerRankService.applyVolunteer(userDetail, formDto); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @describe: 小程序-志愿者详情 |
|
|
* @describe: 小程序-志愿者详情 |
|
|
* @author wangtong |
|
|
* @author wangtong |
|
|
* @date 2021/8/30 11:00 |
|
|
* @date 2021/8/30 11:00 |
|
|
* @params [userDetail] |
|
|
* @params [userDetail] |
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result |
|
|
* @return com.elink.esua.epdc.commons.tools.utils.Result |
|
|
*/ |
|
|
*/ |
|
|
@GetMapping("getVolunteerDetail") |
|
|
@GetMapping("getVolunteerDetail") |
|
|
public Result getVolunteerDetail(@LoginUser TokenDto userDetail) { |
|
|
public Result getVolunteerDetail(@LoginUser TokenDto userDetail) { |
|
|
return appVolunteerRankService.getVolunteerDetail(userDetail); |
|
|
return appVolunteerRankService.getVolunteerDetail(userDetail); |
|
|