| 30 | |
| 31 | // 前端使用的简化格式 |
| 32 | export interface AuthResponse { |
| 33 | token: string |
| 34 | user: User |
| 35 | } |
| 36 | |
| 37 | export const authApi = { |
| 38 | login: async (data: LoginRequest): Promise<AuthResponse> => { |
nothing calls this directly
no outgoing calls
no test coverage detected