|
@ -12,6 +12,8 @@ import lombok.extern.slf4j.Slf4j; |
|
|
import org.springframework.cloud.openfeign.FeignClient; |
|
|
import org.springframework.cloud.openfeign.FeignClient; |
|
|
import org.springframework.stereotype.Component; |
|
|
import org.springframework.stereotype.Component; |
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
|
|
|
|
|
import java.util.List; |
|
|
import java.util.List; |
|
|
|
|
|
|
|
@ -24,13 +26,13 @@ public interface PtosTallFeignClient { |
|
|
/** |
|
|
/** |
|
|
* 根据token获取userId |
|
|
* 根据token获取userId |
|
|
*/ |
|
|
*/ |
|
|
@GetMapping("users/token") |
|
|
@PostMapping("users/token") |
|
|
JsonResponse<FeignUserVo.TokenToUserId> getUserIdByToken(FeignUserDto.UserInfoByToken params); |
|
|
JsonResponse<FeignUserVo.TokenToUserId> getUserIdByToken(FeignUserDto.UserInfoByToken params); |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 根据手机号获取用户在本域的业务项目列表 |
|
|
* 根据手机号获取用户在本域的业务项目列表 |
|
|
*/ |
|
|
*/ |
|
|
@GetMapping("project/byPhone") |
|
|
@PostMapping("project/byPhone") |
|
|
JsonResponse<List<FeignProjectVo.ProjectInfo>> queryProjectByPhone(FeignProjectDto.QueryProjectByPhone params); |
|
|
JsonResponse<List<FeignProjectVo.ProjectInfo>> queryProjectByPhone(FeignProjectDto.QueryProjectByPhone params); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|