|
|
@ -25,6 +25,7 @@ import org.springframework.web.bind.annotation.RequestBody; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
|
|
|
import javax.annotation.Resource; |
|
|
|
import java.util.Date; |
|
|
|
|
|
|
|
/** |
|
|
@ -38,7 +39,7 @@ import java.util.Date; |
|
|
|
@RequestMapping("mine") |
|
|
|
public class MineController { |
|
|
|
|
|
|
|
@Autowired |
|
|
|
@Resource |
|
|
|
private EpmetUserFeignClient epmetUserFeignClient; |
|
|
|
@Autowired |
|
|
|
private RedisUtils redisUtils; |
|
|
@ -54,6 +55,7 @@ public class MineController { |
|
|
|
Result<MyResiUserInfoResultDTO> getMyResiInfo(@LoginUser TokenDto tokenDto, @RequestBody MyResiUserInfoFormDTO myResiUserInfoFormDTO) { |
|
|
|
myResiUserInfoFormDTO.setUserId(tokenDto.getUserId()); |
|
|
|
ValidatorUtils.validateEntity(myResiUserInfoFormDTO); |
|
|
|
|
|
|
|
return epmetUserFeignClient.resiMyselfMsg(myResiUserInfoFormDTO); |
|
|
|
} |
|
|
|
|
|
|
|