From 100740a5b4e512b5b3c9b3e9ecb467cb7384b791 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期四, 03 四月 2025 11:13:19 +0800
Subject: [PATCH] feat: init

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

diff --git a/src/services/api/Account.ts b/src/services/api/Account.ts
index c72e047..86fd3ef 100644
--- a/src/services/api/Account.ts
+++ b/src/services/api/Account.ts
@@ -2,6 +2,480 @@
 // @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榛樿娌℃湁鐢熸垚瀵硅薄)
+  params: API.APIgetLifePayWxIndentityParams,
+  options?: API.RequestConfig
+) {
+  return request<API.WxMiniAppIndentityInfo>('/api/Account/GetLifePayWxIndentity', {
+    method: 'GET',
+    params: {
+      ...params,
+    },
+    ...(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/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 || {}),
+  });
+}
+
+/** 瀵嗙爜鐧诲綍 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/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 || {}),
+  });
+}
+
 /** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/accountAuth/GetCode */
 export async function getCode(options?: API.RequestConfig) {
   return request<any>('/api/accountAuth/GetCode', {

--
Gitblit v1.9.1