perf: 优化邀请注册流程

This commit is contained in:
xiaojunnuo
2026-06-04 18:22:21 +08:00
parent fdb1d1e6dd
commit 7a71e45799
11 changed files with 115 additions and 30 deletions
@@ -26,13 +26,14 @@ export async function OauthToken(type: string, validationCode: string) {
});
}
export async function AutoRegister(type: string, code: string) {
export async function AutoRegister(type: string, code: string, inviteCode?: string) {
return await request({
url: apiPrefix + `/autoRegister`,
method: "post",
data: {
validationCode: code,
type,
inviteCode,
},
});
}