设备验证页面

This commit is contained in:
weiwei committed 2025-05-09 18:10:55 +08:00
1 parent daf8f3314c
commit c0707367a6
3 files changed
+146

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,
},
}),
}