From c2463c02a17f92df55ec77ed2da3fb724290c072 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 20 十月 2025 17:34:30 +0800
Subject: [PATCH] fix: bug
---
packages/services/api/Account.ts | 107 ++++++++++-------------------------------------------
1 files changed, 21 insertions(+), 86 deletions(-)
diff --git a/packages/services/api/Account.ts b/packages/services/api/Account.ts
index eb4b817..fe200c0 100644
--- a/packages/services/api/Account.ts
+++ b/packages/services/api/Account.ts
@@ -2,21 +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,
@@ -32,9 +17,27 @@
});
}
-/** 缁戝畾鐢ㄦ埛璐︽埛閭 POST /api/Account/BindUserEmail */
-export async function bindUserEmail(body: API.BindUserEmailInput, options?: API.RequestConfig) {
- return request<number>('/api/Account/BindUserEmail', {
+/** 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',
@@ -131,21 +134,6 @@
});
}
-/** 绠$悊鍛樺垱寤虹敤鎴� 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,
@@ -223,44 +211,6 @@
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,
@@ -347,21 +297,6 @@
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',
--
Gitblit v1.9.1