11 changed files with 124 additions and 14 deletions
@ -0,0 +1,46 @@ |
|||
package com.elink.esua.epdc.controller.v2; |
|||
|
|||
import com.elink.esua.epdc.commons.tools.constant.Constant; |
|||
import com.elink.esua.epdc.commons.tools.utils.Result; |
|||
import com.elink.esua.epdc.commons.tools.validator.ValidatorUtils; |
|||
import com.elink.esua.epdc.commons.tools.validator.group.DefaultGroup; |
|||
import com.elink.esua.epdc.commons.tools.validator.group.UpdateGroup; |
|||
import com.elink.esua.epdc.dto.epdc.form.EpdcAppVolunteerListFormDTO; |
|||
import com.elink.esua.epdc.dto.epdc.form.EpdcCompleteVolunteerInfoFormDTO; |
|||
import com.elink.esua.epdc.dto.epdc.form.v2.EpdcCompleteVolunteerInfoV2FormDTO; |
|||
import com.elink.esua.epdc.dto.epdc.result.EpdcAppVolunteerListCountResultDTO; |
|||
import com.elink.esua.epdc.dto.epdc.result.EpdcAppVolunteerListResultDTO; |
|||
import com.elink.esua.epdc.dto.epdc.result.EpdcGetVolunteerRankDTO; |
|||
import com.elink.esua.epdc.service.VolunteerInfoService; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.web.bind.annotation.*; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 对移动端开放 |
|||
* |
|||
* @author wanggongfeng |
|||
* @date 2019/9/6 20:31 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping(Constant.EPDC_APP + "volunteerinfo"+Constant.VERSION_CONTROL) |
|||
public class EpdcAppVolunteerInfoV2Controller { |
|||
@Autowired |
|||
private VolunteerInfoService volunteerInfoService; |
|||
|
|||
/** |
|||
* 志愿者列表 v2 |
|||
* |
|||
* @param dto |
|||
* @return com.elink.esua.epdc.commons.tools.utils.Result<java.util.List < com.elink.esua.epdc.dto.result.EpdcAppVolunteerListResultDTO>> |
|||
* @Author zhangyong |
|||
* @Date 15:08 2020-05-18 |
|||
**/ |
|||
@GetMapping("list") |
|||
public Result<EpdcAppVolunteerListCountResultDTO> volunteerListV2(@RequestBody EpdcAppVolunteerListFormDTO dto) { |
|||
return volunteerInfoService.listVolunteerV2(dto); |
|||
} |
|||
|
|||
|
|||
} |
Loading…
Reference in new issue