From 251c70f836e4f922904b9131c52f15d5ac58c9fd Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期二, 18 二月 2025 14:58:19 +0800
Subject: [PATCH] feat: init

---
 src/services/api/Account.ts |  394 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 394 insertions(+), 0 deletions(-)

diff --git a/src/services/api/Account.ts b/src/services/api/Account.ts
index c72e047..fe200c0 100644
--- a/src/services/api/Account.ts
+++ b/src/services/api/Account.ts
@@ -2,6 +2,400 @@
 // @ts-ignore
 import { request } from '@/utils/request';
 
+/** 鏍规嵁鎵嬫満鍙峰垽鏂敤鎴锋槸鍚﹀凡瀛樺湪 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 || {}),
+  });
+}
+
+/** C绔獙璇佺爜鐧诲綍 POST /api/Account/CClientPhoneMesssageCodeLogin */
+export async function cClientPhoneMesssageCodeLogin(
+  body: API.PhoneMesssageCodeLoginInput,
+  options?: API.RequestConfig
+) {
+  return request<API.IdentityModelTokenCacheItem>('/api/Account/CClientPhoneMesssageCodeLogin', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
+/** C绔墜鏈哄彿楠岃瘉鐮佹敞鍐屾敞鍐� POST /api/Account/CClientPhoneMesssageCodeRegister */
+export async function cClientPhoneMesssageCodeRegister(
+  body: API.PhoneMesssageCodeRegisterInput,
+  options?: API.RequestConfig
+) {
+  return request<number>('/api/Account/CClientPhoneMesssageCodeRegister', {
+    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/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 || {}),
+  });
+}
+
+/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/Account/GetOssSTS */
+export async function getOssSTS(options?: API.RequestConfig) {
+  return request<API.OssSTSReponse>('/api/Account/GetOssSTS', {
+    method: 'POST',
+    ...(options || {}),
+  });
+}
+
+/** 鑾峰彇鎵爜鐧诲綍浜岀淮鐮佷俊鎭� 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', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
+/** 鑾峰彇寰俊灏忕▼搴忕敤鎴疯韩浠戒細璇濅俊鎭� 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/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 || {}),
+  });
+}
+
+/** 瀵嗙爜鐧诲綍 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,
+  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/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 || {}),
+  });
+}
+
 /** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/accountAuth/GetCode */
 export async function getCode(options?: API.RequestConfig) {
   return request<any>('/api/accountAuth/GetCode', {

--
Gitblit v1.9.1