From 1910e9f27373b8b4da75f076762025ceb3419965 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 12 六月 2025 15:40:50 +0800
Subject: [PATCH] fix: 暂时隐藏电信充值通道
---
packages/services/api/Account.ts | 470 +++-------------------------------------------------------
1 files changed, 26 insertions(+), 444 deletions(-)
diff --git a/packages/services/api/Account.ts b/packages/services/api/Account.ts
index cafe3a1..d354b68 100644
--- a/packages/services/api/Account.ts
+++ b/packages/services/api/Account.ts
@@ -2,165 +2,6 @@
// @ts-ignore
import { request } from '@/utils/request';
-/** 鏍规嵁缁戝畾閭鍒ゆ柇鐢ㄦ埛鏄惁宸插瓨鍦� POST /api/Account/AnyUserByBindEmail */
-export async function anyUserByBindEmail(
- body: API.AnyUserByBindEmailInput,
- options?: API.RequestConfig
-) {
- return request<boolean>('/api/Account/AnyUserByBindEmail', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鏍规嵁鎵嬫満鍙峰垽鏂敤鎴锋槸鍚﹀凡瀛樺湪 POST /api/Account/AnyUserByPhoneNumber */
-export async function anyUserByPhoneNumber(
- body: API.AnyUserByPhoneNumberInput,
- options?: API.RequestConfig
-) {
- return request<boolean>('/api/Account/AnyUserByPhoneNumber', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 缁戝畾鐢ㄦ埛璐︽埛閭 POST /api/Account/BindUserEmail */
-export async function bindUserEmail(body: API.BindUserEmailInput, options?: API.RequestConfig) {
- return request<number>('/api/Account/BindUserEmail', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鐢ㄦ埛鏍规嵁褰撳墠瀵嗙爜淇敼瀵嗙爜 POST /api/Account/ChangePasswordFromCurrentPwd */
-export async function changePasswordFromCurrentPwd(
- body: API.ChangePasswordFromCurrentPwdInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/Account/ChangePasswordFromCurrentPwd', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鐢ㄦ埛鏍规嵁鎵嬫満鍙蜂慨鏀瑰瘑鐮侀獙璇佺爜 POST /api/Account/ChangePasswordFromPhoneNumber */
-export async function changePasswordFromPhoneNumber(
- body: API.ChangePasswordFromPhoneNumberInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/Account/ChangePasswordFromPhoneNumber', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鏈櫥褰曚笅鏍规嵁鎵嬫満鍙蜂慨鏀瑰瘑鐮侀獙璇佺爜(蹇樿瀵嗙爜) POST /api/Account/ChangePasswordWithNoLogin */
-export async function changePasswordWithNoLogin(
- body: API.ChangePasswordFromPhoneNumberInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/Account/ChangePasswordWithNoLogin', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 淇敼璐﹀彿 POST /api/Account/ChangeUserName */
-export async function changeUserName(body: API.ChangeUserNameInput, options?: API.RequestConfig) {
- return request<number>('/api/Account/ChangeUserName', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 绠$悊鍛樻洿鏀圭敤鎴风櫥褰曟墜鏈哄彿 POST /api/Account/ChangeUserPhoneNumberForAdmin */
-export async function changeUserPhoneNumberForAdmin(
- body: API.ChangePhoneNumberInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/Account/ChangeUserPhoneNumberForAdmin', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鐢ㄦ埛鏇存敼鐧诲綍鎵嬫満鍙� POST /api/Account/ChangeUserPhoneNumberForUser */
-export async function changeUserPhoneNumberForUser(
- body: API.ChangeUserPhoneNumberForUserInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/Account/ChangeUserPhoneNumberForUser', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 绠$悊鍛樺垱寤虹敤鎴� POST /api/Account/CreateUserForAdmin */
-export async function createUserForAdmin(
- body: API.CreateUserForAdminInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/Account/CreateUserForAdmin', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鐢熸垚璐﹀彿 POST /api/Account/GenerateUserName */
-export async function generateUserName(
- body: API.GenerateUserNameInput,
- options?: API.RequestConfig
-) {
- return request<string>('/api/Account/GenerateUserName', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
/** 鑾峰彇鐢熸椿缂磋垂鐢ㄦ埛韬唤浼氳瘽淇℃伅 GET /api/Account/GetLifePayWxIndentity */
export async function getLifePayWxIndentity(
// 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
@@ -184,41 +25,6 @@
});
}
-/** 鑾峰彇鎵爜鐧诲綍浜岀淮鐮佷俊鎭� GET /api/Account/GetQrCodeForLogin */
-export async function getQrCodeForLogin(options?: API.RequestConfig) {
- return request<API.QrCodeLogin>('/api/Account/GetQrCodeForLogin', {
- method: 'GET',
- ...(options || {}),
- });
-}
-
-/** 鑾峰彇鎵爜鐧诲綍缁撴灉 GET /api/Account/GetQrCodeLoginResult */
-export async function getQrCodeLoginResult(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetQrCodeLoginResultParams,
- options?: API.RequestConfig
-) {
- return request<API.WxMiniAppLoginInfo>('/api/Account/GetQrCodeLoginResult', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 鐢靛瓙绛剧櫥褰� POST /api/Account/GetTokenForUserSign */
-export async function getTokenForUserSign(body: API.AccessRequestDto, options?: API.RequestConfig) {
- return request<API.IdentityModelTokenCacheItem>('/api/Account/GetTokenForUserSign', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/Account/GetTokenForWeb */
export async function getTokenForWeb(body: API.AccessRequestDto, options?: API.RequestConfig) {
return request<API.IdentityModelTokenCacheItem>('/api/Account/GetTokenForWeb', {
@@ -231,264 +37,40 @@
});
}
-/** 鑾峰彇寰俊灏忕▼搴忕敤鎴疯韩浠戒細璇濅俊鎭� GET /api/Account/GetWxIndentity */
-export async function getWxIndentity(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetWxIndentityParams,
- options?: API.RequestConfig
-) {
- return request<API.WxMiniAppIndentityInfo>('/api/Account/GetWxIndentity', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 鑾峰彇瀛︾ぞ鍏紬鍙锋枃绔� GET /api/Account/GetWxPublishWriting */
-export async function getWxPublishWriting(options?: API.RequestConfig) {
- return request<API.InformationShowListDtoPageOutput>('/api/Account/GetWxPublishWriting', {
- method: 'GET',
- ...(options || {}),
- });
-}
-
-/** 鍒ゆ柇鐢ㄦ埛缁戝畾閭鏄惁閲嶅 GET /api/Account/IsRepeatByBindEmail */
-export async function isRepeatByBindEmail(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIisRepeatByBindEmailParams,
- options?: API.RequestConfig
-) {
- return request<boolean>('/api/Account/IsRepeatByBindEmail', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 浼佷笟鍚嶇О鏄惁閲嶅 GET /api/Account/IsRepeatByIsRepeatByEnterpriseName */
-export async function isRepeatByIsRepeatByEnterpriseName(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIisRepeatByIsRepeatByEnterpriseNameParams,
- options?: API.RequestConfig
-) {
- return request<boolean>('/api/Account/IsRepeatByIsRepeatByEnterpriseName', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 鍒ゆ柇鐢ㄦ埛鎵嬫満鍙锋槸鍚﹂噸澶� GET /api/Account/IsRepeatByPhoneNumber */
-export async function isRepeatByPhoneNumber(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIisRepeatByPhoneNumberParams,
- options?: API.RequestConfig
-) {
- return request<boolean>('/api/Account/IsRepeatByPhoneNumber', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
/** life pay鎵嬫満楠岃瘉鐮佺櫥褰� POST /api/Account/LifePayPhoneMesssageCodeLogin */
export async function lifePayPhoneMesssageCodeLogin(
- body: API.PhoneMesssageCodeLoginInput,
+ body: API.LifePayPhoneMesssageCodeLoginInput,
options?: API.RequestConfig
) {
- return request<string>('/api/Account/LifePayPhoneMesssageCodeLogin', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
+ return request<API.LifePayPhoneMesssageCodeLoginOutput>(
+ '/api/Account/LifePayPhoneMesssageCodeLogin',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
}
-/** 瀵嗙爜鐧诲綍 POST /api/Account/PasswordLogin */
-export async function passwordLogin(body: API.PasswordLoginInput, options?: API.RequestConfig) {
- return request<API.IdentityModelTokenCacheItem>('/api/Account/PasswordLogin', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 楠岃瘉鐮佺櫥褰� POST /api/Account/PhoneMesssageCodeLogin */
-export async function phoneMesssageCodeLogin(
- body: API.PhoneMesssageCodeLoginInput,
+/** 鏍规嵁鐢ㄦ埛ID鑾峰彇鐢ㄦ埛鏄惁涓哄悗鍙扮鐞嗗憳 POST /api/Account/LifePayUserMesssageByIduser */
+export async function lifePayUserMesssageByIduser(
+ body: API.LifePayUserMesssageByIduserInput,
options?: API.RequestConfig
) {
- return request<API.IdentityModelTokenCacheItem>('/api/Account/PhoneMesssageCodeLogin', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鎵嬫満鍙烽獙璇佺爜娉ㄥ唽娉ㄥ唽 POST /api/Account/PhoneMesssageCodeRegister */
-export async function phoneMesssageCodeRegister(
- body: API.PhoneMesssageCodeRegisterInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/Account/PhoneMesssageCodeRegister', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 閲嶇疆瀵嗙爜骞跺彂閫佹墜鏈洪�氱煡鏂板瘑鐮� POST /api/Account/ResetPasswordWithMicroNotify */
-export async function resetPasswordWithMicroNotify(
- body: API.ResetPasswordBaseInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/Account/ResetPasswordWithMicroNotify', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鍙戦�佺櫥褰曟敞鍐岀煭淇¢獙璇佺爜 POST /api/Account/SendPhoneMesssageCode */
-export async function sendPhoneMesssageCode(
- body: API.SendPhoneMesssageCodeInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/Account/SendPhoneMesssageCode', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 瑙g粦鐢ㄦ埛閭 POST /api/Account/UnbindingUserEmail */
-export async function unbindingUserEmail(
- body: API.UnbindingUserEmailInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/Account/UnbindingUserEmail', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 瑙g粦鐢ㄦ埛鎵嬫満鍙� POST /api/Account/UnbindingUserPhoneNumber */
-export async function unbindingUserPhoneNumber(
- body: API.UnbindingUserPhoneNumber,
- options?: API.RequestConfig
-) {
- return request<number>('/api/Account/UnbindingUserPhoneNumber', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 璇嗗埆钀ヤ笟鎵х収 GET /api/Account/VatLicense */
-export async function vatLicense(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIvatLicenseParams,
- options?: API.RequestConfig
-) {
- return request<API.LicenseOcrModel>('/api/Account/VatLicense', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 灏忕▼搴忔墜鏈烘巿鏉冩敞鍐岀櫥褰� POST /api/Account/WxMiniAppPhoneAuthLogin */
-export async function wxMiniAppPhoneAuthLogin(
- body: API.WxMiniAppPhoneLoginInput,
- options?: API.RequestConfig
-) {
- return request<API.IdentityModelTokenCacheItem>('/api/Account/WxMiniAppPhoneAuthLogin', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 灏忕▼搴忔壂鐮佹墜鏈烘巿鏉冩敞鍐岀櫥褰� POST /api/Account/WxMiniAppPhoneAuthLoginFromScan */
-export async function wxMiniAppPhoneAuthLoginFromScan(
- body: API.WxMiniAppPhoneAuthLoginFromScanInput,
- options?: API.RequestConfig
-) {
- return request<API.IdentityModelTokenCacheItem>('/api/Account/WxMiniAppPhoneAuthLoginFromScan', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 宸叉湁灏忕▼搴忕敤鎴风‘璁ょ櫥褰� GET /api/Account/WxMiniAppUserLogin */
-export async function wxMiniAppUserLogin(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIwxMiniAppUserLoginParams,
- options?: API.RequestConfig
-) {
- return request<any>('/api/Account/WxMiniAppUserLogin', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 宸叉湁灏忕▼搴忕敤鎴锋壂鐮佺‘璁ょ櫥褰� POST /api/Account/WxMiniAppUserLoginFromScan */
-export async function wxMiniAppUserLoginFromScan(
- body: API.WxMiniAppUserLoginFromScanInput,
- options?: API.RequestConfig
-) {
- return request<API.IdentityModelTokenCacheItem>('/api/Account/WxMiniAppUserLoginFromScan', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
+ return request<API.LifePayPhoneMesssageCodeLoginOutput>(
+ '/api/Account/LifePayUserMesssageByIduser',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
}
/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/accountAuth/GetCode */
--
Gitblit v1.9.1