feat(user): 展示用户最近使用的系统

This commit is contained in:
Zhou Weidong committed 2026-10-23 12:34:13 +08:00
1 parent 45e3d84f59
commit ab58641bbe
12 files changed
+212 -8

No files matched your search

@@ -68,7 +68,7 @@ public class AppAuthController {
@Operation(summary = "刷新令牌(旧 refresh token 立即失效)")
@PostMapping("/refresh")
public Result<TokenRespVO> refresh(@Valid @RequestBody RefreshReqVO req) {
return Result.ok(authService.refresh(req.getRefreshToken()));
return Result.ok(authService.refresh(req.getRefreshToken(), req.getPlatform(), req.getOsVersion()));
}
/** 登出:默认只吊销当前设备的会话,allDevices=true 时吊销全部。 */