| 21 | |
| 22 | // 后端实际返回的认证响应格式 |
| 23 | export interface AuthResponseData { |
| 24 | accessToken: string |
| 25 | refreshToken: string |
| 26 | tokenType: string |
| 27 | expiresIn: number |
| 28 | user: User |
| 29 | } |
| 30 | |
| 31 | // 前端使用的简化格式 |
| 32 | export interface AuthResponse { |
nothing calls this directly
no outgoing calls
no test coverage detected