/** * 认证相关 API * 保持向后兼容,从子模块 re-export */ // 类型 export type { LoginRequest, LoginResponse, RegisterRequest, User, UserResponse, WechatAuthUrlResponse, WechatCallbackResponse, SendVerificationCodeRequest, BindContactRequest, BindContactResponse, } from "./types" // 用户工具函数 export { normalizeUser } from "./user" // 登录/注册/登出/刷新 export { login, refreshAccessToken, register, logout } from "./login" // 当前用户 export { getCurrentUser } from "./currentUser" // 密码重置 export { requestPasswordReset, resetPassword } from "./password" // 邮箱验证 export { verifyEmail } from "./email" // 微信登录 export { getWechatAuthUrl, wechatCallback } from "./wechat" // 联系方式 export { sendVerificationCode, bindContact } from "./contact"