| | |
| | | @PermitAll |
| | | @Operation(summary = "刷新令牌") |
| | | @Parameter(name = "refreshToken", description = "刷新令牌", required = true) |
| | | public CommonResult<AuthLoginRespVO> refreshToken(@RequestParam("refreshToken") String refreshToken) { |
| | | return success(authService.refreshToken(refreshToken)); |
| | | } |
| | | |
| | | @PostMapping("/client-refresh-token") |
| | | @PermitAll |
| | | @Operation(summary = "刷新令牌") |
| | | @Parameter(name = "refreshToken", description = "刷新令牌", required = true) |
| | | public Map<String, Object> refreshToken(@RequestParam("refreshToken") String refreshToken, @RequestParam("clientId") String clientId) { |
| | | AuthLoginRespVO authLoginRespVO = authService.refreshToken(refreshToken, clientId); |
| | | Map<String, Object> map = new HashMap<>(); |