This commit is contained in:
zjf committed 2026-05-08 22:24:46 +08:00
1 parent 2f7a9d55a2
commit b8d0379467
12 files changed
+417 -13

No files matched your search

+16 -3
View File
@@ -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,
}),
// 诗画授权登录