refactor: 重命名 LoginResult 为 LoginResponse
- 重命名类型定义以符合 Request/Response 标准命名 - 删除 api/auth.ts 中的重复类型定义 - 统一使用 types/api 中的类型定义 - 提高代码一致性和可维护性
This commit is contained in:
@@ -23,7 +23,7 @@ export interface LoginRequest {
|
||||
/**
|
||||
* 登录响应
|
||||
*/
|
||||
export interface LoginResult {
|
||||
export interface LoginResponse {
|
||||
/** 访问令牌 */
|
||||
accessToken: string;
|
||||
/** 刷新令牌 */
|
||||
|
||||
Reference in New Issue
Block a user