不再使用的代码清理

This commit is contained in:
2025-10-26 15:34:05 +08:00
parent 20c8d781c4
commit fdac026720
101 changed files with 278 additions and 38135 deletions
+9 -17
View File
@@ -2,17 +2,13 @@
* 认证相关类型定义
*/
// 登录请求
// 登录请求(对齐 backend-single:手机号 + 短信验证码)
export interface LoginRequest {
/** 账号(支持账号/邮箱/手机号 */
account: string
/** 密码 */
password: string
/** 验证码 */
captcha: string
/** 验证码key */
captchaKey: string
/** 记住我 */
/** 手机号 */
phone: string
/** 短信验证码(开发期为固定 123456) */
smsCode: string
/** 记住我(前端本地使用,可选) */
rememberMe?: boolean
}
@@ -138,16 +134,12 @@ export interface ChangePasswordRequest {
// 重置密码请求
export interface ResetPasswordRequest {
/** 号 */
account: string
/** 手机号 */
phone: string
/** 新密码 */
newPassword: string
/** 确认新密码 */
confirmPassword: string
/** 验证码 */
/** 验证码(固定 123456 */
captcha: string
/** 验证码key */
captchaKey: string
}
// 发送验证码请求