Interface EmployeeFullInfoFeignClient


@FeignClient(name="${yst.service.system:yst-dms2-newsys}", path="/api/v1/mng/employee") public interface EmployeeFullInfoFeignClient
员工 Feign 客户端 提供从 newsys-core 获取员工相关信息的接口
  • Method Summary

    Modifier and Type
    Method
    Description
    根据用户名获取用户完整信息(包含用户、员工、部门、角色) 用于外部系统 JWT 解析失败后,从内部系统获取用户信息
  • Method Details

    • getExternalUserFullInfo

      @GetMapping("/externalUserFullInfo") ApiResult<ExternalUserFullInfoDTO> getExternalUserFullInfo(@RequestParam("username") String username)
      根据用户名获取用户完整信息(包含用户、员工、部门、角色) 用于外部系统 JWT 解析失败后,从内部系统获取用户信息
      Parameters:
      username - 用户名
      Returns:
      用户完整信息