设备验证页面
This commit is contained in:
1 parent
daf8f3314c
commit
3743d5f65b
6 files changed
+6398
-7
No files matched your search
@@ -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,
|
||||
},
|
||||
}),
|
||||
}
|
||||
Reference in new issue
Block a user