refactor: 重命名 LoginResult 为 LoginResponse

- 重命名类型定义以符合 Request/Response 标准命名
- 删除 api/auth.ts 中的重复类型定义
- 统一使用 types/api 中的类型定义
- 提高代码一致性和可维护性
This commit is contained in:
Ray.Hao
2025-12-12 14:31:39 +08:00
parent 265f7b42e4
commit f125473b93
10 changed files with 2 additions and 38 deletions

View File

@@ -23,7 +23,7 @@ export interface LoginRequest {
/**
* 登录响应
*/
export interface LoginResult {
export interface LoginResponse {
/** 访问令牌 */
accessToken: string;
/** 刷新令牌 */