|
|
@ -1,5 +1,6 @@ |
|
|
|
package com.elink.esua.epdc.feign; |
|
|
|
|
|
|
|
import com.elink.esua.epdc.common.token.dto.TokenDto; |
|
|
|
import com.elink.esua.epdc.commons.tools.constant.ServiceConstant; |
|
|
|
import com.elink.esua.epdc.commons.tools.utils.Result; |
|
|
|
import com.elink.esua.epdc.dto.UserDTO; |
|
|
@ -7,11 +8,14 @@ import com.elink.esua.epdc.dto.UserGridRelationDTO; |
|
|
|
import com.elink.esua.epdc.dto.UserWxFormIdDTO; |
|
|
|
import com.elink.esua.epdc.dto.epdc.form.*; |
|
|
|
import com.elink.esua.epdc.dto.epdc.result.*; |
|
|
|
import com.elink.esua.epdc.dto.epdc.result.EpdcWorkUserResultDTO; |
|
|
|
import com.elink.esua.epdc.dto.form.EpdcCompleteUserInfoFormDTO; |
|
|
|
import com.elink.esua.epdc.feign.fallback.UserFeignClientFallback; |
|
|
|
import org.springframework.cloud.openfeign.FeignClient; |
|
|
|
import org.springframework.http.MediaType; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
import org.springframework.web.bind.annotation.PathVariable; |
|
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
@ -326,4 +330,21 @@ public interface UserFeignClient { |
|
|
|
**/ |
|
|
|
@PostMapping(value="app-user/epdc-app/user/queryUserDto", consumes = MediaType.APPLICATION_JSON_VALUE) |
|
|
|
Result<UserDTO> queryUserDto(EpdcAppQueryUserInfoFormDTO formDTO); |
|
|
|
|
|
|
|
/** |
|
|
|
* 志愿者认证 |
|
|
|
* @param userId |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@GetMapping("app-user/epdc-app/user/getVolunteerCountById/{userId}") |
|
|
|
Result<Integer> getVolunteerCountById(@PathVariable("userId") String userId); |
|
|
|
|
|
|
|
/** |
|
|
|
* 添加志愿者 |
|
|
|
* @param tokenDto |
|
|
|
* @param formDto |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
@GetMapping("app-user/epdc-app/user/insertVolunteerInfo") |
|
|
|
Result<Integer> insertVolunteerInfo(TokenDto tokenDto, EpdcCompleteUserInfoFormDTO formDto); |
|
|
|
} |
|
|
|