mirror of
https://github.com/certd/certd.git
synced 2026-07-02 01:17:32 +08:00
perf: 登录支持双重认证
This commit is contained in:
@@ -66,3 +66,11 @@ export async function mine(): Promise<UserInfoRes> {
|
||||
method: "post",
|
||||
});
|
||||
}
|
||||
|
||||
export async function loginByTwoFactor(data: any) {
|
||||
return await request({
|
||||
url: "/loginByTwoFactor",
|
||||
method: "post",
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user