设备验证页面

This commit is contained in:
weiwei committed 2025-05-13 16:22:08 +08:00
1 parent daf8f3314c
commit 3743d5f65b
6 files changed
+6398 -7

No files matched your search

+19
View File
@@ -106,4 +106,23 @@ export default {
showLoading: false,
},
}),
// 根据手机号发送验证码
getMobilePhoneCode: (mobilePhone: string) =>
request({
url: `/thirdparty/thirdPartyOAth2/loginSms?mobilePhone=${mobilePhone}`,
method: "POST",
custom: {
showLoading: false,
},
}),
// 设备认证
verifyDevice: (data: { mobilePhone: string; code: string }) =>
request({
url: "/thirdparty/thirdPartyOAth2/verify-device",
method: "POST",
data,
custom: {
showLoading: false,
},
}),
}