feat: 修复登陆和注册button请求事件

This commit is contained in:
zdl
2025-10-15 23:27:42 +08:00
parent 94cfec611b
commit d6ab01b39d
3 changed files with 11 additions and 1 deletions

View File

@@ -239,6 +239,8 @@ export default function AuthFormContent() {
credential: phone,
verification_code: verificationCode,
login_type: 'phone',
type: 'phone',
purpose: config.api.purpose, // 使用配置中的purpose
};
// 调用API根据模式选择不同的endpoint