zzd
This commit is contained in:
1 parent
2f7a9d55a2
commit
b8d0379467
12 files changed
+417
-13
No files matched your search
+16
-3
@@ -12,12 +12,25 @@ export default {
|
||||
method: "GET",
|
||||
}),
|
||||
|
||||
// 浙政钉授权登录
|
||||
auth: (token: string): Promise<any> =>
|
||||
// 浙政钉授权登录(token:旧 uabaseToken;authCode:开放平台 H5 getAuthCode)
|
||||
auth: (payload: { token?: string; authCode?: string }): Promise<any> =>
|
||||
request({
|
||||
url: "/thirdparty/thirdPartyOAth2/zzdsso",
|
||||
method: "POST",
|
||||
data: { token },
|
||||
data: payload,
|
||||
}),
|
||||
|
||||
zzdLoginSms: (mobilePhone: string): Promise<any> =>
|
||||
request({
|
||||
url: `/thirdparty/thirdPartyOAth2/loginSms?mobilePhone=${encodeURIComponent(mobilePhone.trim())}`,
|
||||
method: "POST",
|
||||
}),
|
||||
|
||||
zzdSsoConfirmPhone: (data: { bindSessionId: string; mobilePhone: string; smsCode: string }): Promise<any> =>
|
||||
request({
|
||||
url: "/thirdparty/thirdPartyOAth2/zzdsso/confirmPhone",
|
||||
method: "POST",
|
||||
data,
|
||||
}),
|
||||
|
||||
// 诗画授权登录
|
||||
|
||||
Reference in new issue
Block a user