From 88695d37e54caa2cbc8a42a53261e9cf86d08181 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 20 十月 2025 17:30:20 +0800
Subject: [PATCH] fix: s
---
src/services/api/User.ts | 996 ++++++++++++++++++++++++++++++++++++++++++++++++++++------
1 files changed, 889 insertions(+), 107 deletions(-)
diff --git a/src/services/api/User.ts b/src/services/api/User.ts
index a1d348f..3e7a25b 100644
--- a/src/services/api/User.ts
+++ b/src/services/api/User.ts
@@ -2,64 +2,12 @@
// @ts-ignore
import { request } from '@/utils/request';
-/** 鏂板璐﹀彿淇℃伅 POST /api/User/CreateAccount */
-export async function createAccount(body: API.CreateAccountInput, options?: API.RequestConfig) {
- return request<string>('/api/User/CreateAccount', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/User/CreateRole */
-export async function createRole(body: API.CreateOrUpdateRoleInput, options?: API.RequestConfig) {
- return request<string>('/api/User/CreateRole', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/User/DeleteRole */
-export async function deleteRole(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIdeleteRoleParams,
+/** 鏂板鐢ㄦ埛璁よ瘉瀹℃牳淇℃伅 POST /api/User/AddUserCertificationAudit */
+export async function addUserCertificationAudit(
+ body: API.AddUserCertificationAuditInput,
options?: API.RequestConfig
) {
- return request<number>('/api/User/DeleteRole', {
- method: 'POST',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 鑾峰彇鎵�鏈夎鑹� GET /api/User/GetAllRoles */
-export async function getAllRoles(options?: API.RequestConfig) {
- return request<API.RoleInfo[]>('/api/User/GetAllRoles', {
- method: 'GET',
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/User/GetOssSTS */
-export async function getOssSTS(options?: API.RequestConfig) {
- return request<API.OssSTSReponse>('/api/User/GetOssSTS', {
- method: 'POST',
- ...(options || {}),
- });
-}
-
-/** 鑾峰彇瑙掕壊鍒嗛〉鍒楄〃 POST /api/User/GetRoles */
-export async function getRoles(body: API.GetRolesInput, options?: API.RequestConfig) {
- return request<API.RoleInfoPageOutput>('/api/User/GetRoles', {
+ return request<API.AddUserCertificationAuditDto>('/api/User/AddUserCertificationAudit', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
@@ -69,25 +17,76 @@
});
}
-/** 鑾峰彇token POST /api/User/GetTokenForWeb */
-export async function getTokenForWeb(body: API.AccessRequestDto, options?: API.RequestConfig) {
- return request<API.IdentityModelTokenCacheItem>('/api/User/GetTokenForWeb', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鑾峰彇鐢ㄦ埛璇︽儏 GET /api/User/GetUserDetail */
-export async function getUserDetail(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetUserDetailParams,
+/** 鐢宠鐢ㄦ埛璇佷功 POST /api/User/ApplyUserCertificate */
+export async function applyUserCertificate(
+ body: API.ApplyUserCertificateInput,
options?: API.RequestConfig
) {
- return request<API.UserDetailOutput>('/api/User/GetUserDetail', {
+ return request<number>('/api/User/ApplyUserCertificate', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鎵归噺鍒涘缓璁よ瘉鐢ㄦ埛 POST /api/User/BatchCreateCompanyUser */
+export async function batchCreateCompanyUser(
+ body: API.AddCertifiedUserInput[],
+ options?: API.RequestConfig
+) {
+ return request<string[]>('/api/User/BatchCreateCompanyUser', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鏍¢獙鎵归噺鍒涘缓璁よ瘉鐢ㄦ埛鏁版嵁 POST /api/User/CheckBatchCreateCompanyUserData */
+export async function checkBatchCreateCompanyUserData(
+ body: API.CheckBatchCreateCompanyUserDataInput,
+ options?: API.RequestConfig
+) {
+ return request<API.CheckBatchCreateCompanyUserResult[]>(
+ '/api/User/CheckBatchCreateCompanyUserData',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+}
+
+/** 鏍¢獙鐢ㄦ埛璁よ瘉瀹℃牳楠岃瘉鐮� POST /api/User/CheckUserCertificationAuditVerificationCode */
+export async function checkUserCertificationAuditVerificationCode(
+ body: API.CheckPhoneVerificationCodeInput,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/User/CheckUserCertificationAuditVerificationCode', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鏍¢獙璁よ瘉淇℃伅閲嶅 GET /api/User/CheckUserCertificationRepeat */
+export async function checkUserCertificationRepeat(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIcheckUserCertificationRepeatParams,
+ options?: API.RequestConfig
+) {
+ return request<any>('/api/User/CheckUserCertificationRepeat', {
method: 'GET',
params: {
...params,
@@ -96,36 +95,13 @@
});
}
-/** 鑾峰彇鐢ㄦ埛鍒嗛〉鍒楄〃 POST /api/User/GetUserPage */
-export async function getUserPage(body: API.QueryUserPageInput, options?: API.RequestConfig) {
- return request<API.UserListOutputPageOutput>('/api/User/GetUserPage', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 瀵嗙爜鐧诲綍 POST /api/User/PasswordLogin */
-export async function passwordLogin(body: API.PasswordLoginInput, options?: API.RequestConfig) {
- return request<API.IdentityModelTokenCacheItem>('/api/User/PasswordLogin', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/User/RoleEnableOrForbid */
-export async function roleEnableOrForbid(
- body: API.RoleEnableOrForbidInput,
+/** 鏍¢獙鐢ㄦ埛璁よ瘉鎵嬫満鍙�
+鐗堟湰璇存槑锛氱敤鎴疯璇佺殑淇℃伅鍙戠敓鏀瑰彉 POST /api/User/CheckUserThreamVerificationCode */
+export async function checkUserThreamVerificationCode(
+ body: API.CheckPhoneVerificationCodeInput,
options?: API.RequestConfig
) {
- return request<number>('/api/User/RoleEnableOrForbid', {
+ return request<boolean>('/api/User/CheckUserThreamVerificationCode', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
@@ -135,9 +111,12 @@
});
}
-/** 鏇存柊璐﹀彿淇℃伅 POST /api/User/UpdateAccount */
-export async function updateAccount(body: API.UpdateAccountInput, options?: API.RequestConfig) {
- return request<number>('/api/User/UpdateAccount', {
+/** 鎻愪氦浼佷笟璁よ瘉 POST /api/User/CompanyAttestationSubmit */
+export async function companyAttestationSubmit(
+ body: API.CompanyAttestationSubmitInput,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/User/CompanyAttestationSubmit', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
@@ -147,9 +126,12 @@
});
}
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/User/UpdateRole */
-export async function updateRole(body: API.CreateOrUpdateRoleInput, options?: API.RequestConfig) {
- return request<number>('/api/User/UpdateRole', {
+/** 鏂板缓浼佷笟鐢ㄦ埛 POST /api/User/CreateCompanyUser */
+export async function createCompanyUser(
+ body: API.AddCertifiedUserInput,
+ options?: API.RequestConfig
+) {
+ return request<string>('/api/User/CreateCompanyUser', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
@@ -158,3 +140,803 @@
...(options || {}),
});
}
+
+/** 鍒涘缓璁よ瘉淇℃伅 POST /api/User/CreateUserCertification */
+export async function createUserCertification(
+ body: API.AddUserCertificationBaseInput,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/User/CreateUserCertification', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鍏虫敞鐢ㄦ埛 POST /api/User/FollowUser */
+export async function followUser(body: API.FollowUserInput, options?: API.RequestConfig) {
+ return request<number>('/api/User/FollowUser', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 浼佷笟鐢ㄦ埛鍒楄〃 POST /api/User/GetAllCompanyUsers */
+export async function getAllCompanyUsers(
+ body: API.GeAlltCompanyUsersInput,
+ options?: API.RequestConfig
+) {
+ return request<API.CompanyUserDto[]>('/api/User/GetAllCompanyUsers', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 骞冲彴鐢ㄦ埛 POST /api/User/GetAllPlatUserAttestation */
+export async function getAllPlatUserAttestation(
+ body: API.GetAllAttestationsInputV2,
+ options?: API.RequestConfig
+) {
+ return request<API.PlatUserAttestationDtoPageOutput>('/api/User/GetAllPlatUserAttestation', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇鎵�鏈夊钩鍙扮敤鎴� POST /api/User/GetAllPlatUserAttestationList */
+export async function getAllPlatUserAttestationList(
+ body: API.GetAllAttestationsInputV2,
+ options?: API.RequestConfig
+) {
+ return request<API.AttestationV2Info[]>('/api/User/GetAllPlatUserAttestationList', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇浼佷笟鎻愪氦璁よ瘉淇℃伅 GET /api/User/GetCompanyAttestation */
+export async function getCompanyAttestation(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetCompanyAttestationParams,
+ options?: API.RequestConfig
+) {
+ return request<API.CompanyAttestationDto>('/api/User/GetCompanyAttestation', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+}
+
+/** 浼佷笟鐢ㄦ埛璇︽儏 GET /api/User/GetCompanyUser */
+export async function getCompanyUser(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetCompanyUserParams,
+ options?: API.RequestConfig
+) {
+ return request<API.CertifiedUserDetailDto>('/api/User/GetCompanyUser', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇璁よ瘉鐢ㄦ埛璇︽儏淇℃伅
+鐗堟湰璇存槑锛氱敤鎴疯璇佷俊鎭殑琛ㄦ洿鏀� GET /api/User/GetCompanyUserByUserId */
+export async function getCompanyUserByUserId(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetCompanyUserByUserIdParams,
+ options?: API.RequestConfig
+) {
+ return request<API.CertifiedUserDetailDto>('/api/User/GetCompanyUserByUserId', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+}
+
+/** 浼佷笟鐢ㄦ埛鍒楄〃 POST /api/User/GetCompanyUsers */
+export async function getCompanyUsers(
+ body: API.QueryCertifiedUserListInput,
+ options?: API.RequestConfig
+) {
+ return request<API.CertifiedUserListDtoPageOutput>('/api/User/GetCompanyUsers', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鑷惀瀹㈡埛鐩綍 GET /api/User/GetCustomers */
+export async function getCustomers(options?: API.RequestConfig) {
+ return request<API.CustomerMenu[]>('/api/User/GetCustomers', {
+ method: 'GET',
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇绮変笣鍒嗛〉鍒楄〃 POST /api/User/GetFansFollowUserPage */
+export async function getFansFollowUserPage(body: API.PageInput, options?: API.RequestConfig) {
+ return request<API.FollowUserListOutputPageOutput>('/api/User/GetFansFollowUserPage', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇鍏虫敞鍒嗛〉鍒楄〃 POST /api/User/GetFollowUserPage */
+export async function getFollowUserPage(body: API.PageInput, options?: API.RequestConfig) {
+ return request<API.FollowUserListOutputPageOutput>('/api/User/GetFollowUserPage', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇姹熶綉淇濈敤鎴蜂俊鎭� GET /api/User/GetJybUserInfo/${param0} */
+export async function getJybUserInfoId(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetJybUserInfoIdParams,
+ options?: API.RequestConfig
+) {
+ const { id: param0, ...queryParams } = params;
+ return request<API.JybUserInfoDto>(`/api/User/GetJybUserInfo/${param0}`, {
+ method: 'GET',
+ params: { ...queryParams },
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇浜掔浉鍏虫敞鍒嗛〉鍒楄〃 POST /api/User/GetMutualFollowUserPage */
+export async function getMutualFollowUserPage(body: API.PageInput, options?: API.RequestConfig) {
+ return request<API.FollowUserListOutputPageOutput>('/api/User/GetMutualFollowUserPage', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇鐢ㄦ埛涓汉涓績璁よ瘉瀹℃牳淇℃伅 GET /api/User/GetMyCertificationAuditInfo */
+export async function getMyCertificationAuditInfo(options?: API.RequestConfig) {
+ return request<API.MyCertificationAuditDto>('/api/User/GetMyCertificationAuditInfo', {
+ method: 'GET',
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇涓汉鎻愪氦璁よ瘉淇℃伅 GET /api/User/GetPersonalAttestation */
+export async function getPersonalAttestation(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetPersonalAttestationParams,
+ options?: API.RequestConfig
+) {
+ return request<API.PersonalAttestationDto>('/api/User/GetPersonalAttestation', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+}
+
+/** 涓汉鐢ㄦ埛璇︽儏 GET /api/User/GetPersonalUser */
+export async function getPersonalUser(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetPersonalUserParams,
+ options?: API.RequestConfig
+) {
+ return request<API.PersonalUserDetail>('/api/User/GetPersonalUser', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+}
+
+/** 涓汉鐢ㄦ埛鍒楄〃 POST /api/User/GetPersonalUsers */
+export async function getPersonalUsers(
+ body: API.GetPersonalUsersInput,
+ options?: API.RequestConfig
+) {
+ return request<API.PersonalUserDtoPageOutput>('/api/User/GetPersonalUsers', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇骞冲彴閾惰璐︽埛淇℃伅 GET /api/User/GetPlatIncomeRechargeAccount */
+export async function getPlatIncomeRechargeAccount(options?: API.RequestConfig) {
+ return request<API.GetPlatIncomeRechargeAccountOutput>('/api/User/GetPlatIncomeRechargeAccount', {
+ method: 'GET',
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇骞冲彴寮�绁ㄤ俊鎭� GET /api/User/GetPlatInvoiceAccount */
+export async function getPlatInvoiceAccount(options?: API.RequestConfig) {
+ return request<API.GetPlatInvoiceAccountOutput>('/api/User/GetPlatInvoiceAccount', {
+ method: 'GET',
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇骞冲彴鐢ㄦ埛璇︽儏 GET /api/User/GetPlatUserAttestationInfo */
+export async function getPlatUserAttestationInfo(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetPlatUserAttestationInfoParams,
+ options?: API.RequestConfig
+) {
+ return request<API.PlatUserAttestationInfoDto>('/api/User/GetPlatUserAttestationInfo', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+}
+
+/** 璁よ瘉瀹℃牳鍒楄〃 POST /api/User/GetUserAttestations */
+export async function getUserAttestations(
+ body: API.GetUserAttestationsInput,
+ options?: API.RequestConfig
+) {
+ return request<API.UserAttestationDtoPageOutput>('/api/User/GetUserAttestations', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇浼佷笟濂栭噾浣欓鍙婂熀鏈俊鎭� GET /api/User/GetUserBaseEnterpriseInfo */
+export async function getUserBaseEnterpriseInfo(options?: API.RequestConfig) {
+ return request<API.GetUserBaseEnterpriseInfoOutput>('/api/User/GetUserBaseEnterpriseInfo', {
+ method: 'GET',
+ ...(options || {}),
+ });
+}
+
+/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/User/GetUserBaseEnterpriseInfoThridpart */
+export async function getUserBaseEnterpriseInfoThridpart(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetUserBaseEnterpriseInfoThridpartParams,
+ options?: API.RequestConfig
+) {
+ return request<API.GetUserBaseEnterpriseInfoOutput>(
+ '/api/User/GetUserBaseEnterpriseInfoThridpart',
+ {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ }
+ );
+}
+
+/** 鑾峰彇鐢ㄦ埛璇佷功鐢宠鐘舵�� GET /api/User/GetUserBestSignUserRegStatus */
+export async function getUserBestSignUserRegStatus(options?: API.RequestConfig) {
+ return request<number>('/api/User/GetUserBestSignUserRegStatus', {
+ method: 'GET',
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇鐢ㄦ埛鍚嶇墖 GET /api/User/GetUserCardById */
+export async function getUserCardById(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetUserCardByIdParams,
+ options?: API.RequestConfig
+) {
+ return request<API.UserCardDto>('/api/User/GetUserCardById', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇鐢ㄦ埛璁よ瘉瀹℃牳鏄庣粏淇℃伅 GET /api/User/GetUserCertificationAuditDetailById */
+export async function getUserCertificationAuditDetailById(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetUserCertificationAuditDetailByIdParams,
+ options?: API.RequestConfig
+) {
+ return request<API.UserCertificationAuditDetailDto>(
+ '/api/User/GetUserCertificationAuditDetailById',
+ {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ }
+ );
+}
+
+/** 鑾峰彇鐢ㄦ埛璁よ瘉瀹℃牳鍒嗛〉鍒楄〃 POST /api/User/GetUserCertificationAuditListPage */
+export async function getUserCertificationAuditListPage(
+ body: API.QueryUserCertificationAuditListInput,
+ options?: API.RequestConfig
+) {
+ return request<API.UserCertificationAuditListDtoPageOutput>(
+ '/api/User/GetUserCertificationAuditListPage',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+}
+
+/** 鑾峰彇璁よ瘉瀹℃牳鐘舵�� GET /api/User/GetUserCertificationAuditStatus */
+export async function getUserCertificationAuditStatus(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetUserCertificationAuditStatusParams,
+ options?: API.RequestConfig
+) {
+ return request<API.UserCertificationAuditStatusEnum>(
+ '/api/User/GetUserCertificationAuditStatus',
+ {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ }
+ );
+}
+
+/** 鑾峰彇鐢ㄦ埛璁よ璇佷笅鎷夋暟鎹垪琛� POST /api/User/GetUserCertificationDropdownDataList */
+export async function getUserCertificationDropdownDataList(
+ body: API.QueryUserCertificationDropdownDataInput,
+ options?: API.RequestConfig
+) {
+ return request<API.UserCertificationDropdownDataDto[]>(
+ '/api/User/GetUserCertificationDropdownDataList',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+}
+
+/** 鑾峰彇璁よ瘉绠$悊鍒嗛〉鍒楄〃 POST /api/User/GetUserCertifiedManagerPage */
+export async function getUserCertifiedManagerPage(
+ body: API.QueryCertifiedUserListInput,
+ options?: API.RequestConfig
+) {
+ return request<API.CertifiedUserListDtoPageOutput>('/api/User/GetUserCertifiedManagerPage', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 灏忕▼搴忕--鑾峰彇鐢ㄦ埛 浜掔浉鍏虫敞 鍏虫敞 绮変笣 GET /api/User/GetUserFollowInfo */
+export async function getUserFollowInfo(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetUserFollowInfoParams,
+ options?: API.RequestConfig
+) {
+ return request<API.GetUserFollowInfoOutput>('/api/User/GetUserFollowInfo', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇鐧诲綍鐢ㄦ埛淇℃伅 GET /api/User/GetUserInfo */
+export async function getUserInfo(options?: API.RequestConfig) {
+ return request<API.UserInfoV2>('/api/User/GetUserInfo', {
+ method: 'GET',
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇鐢ㄦ埛鍩烘湰淇℃伅V2鐗堟湰
+鐗堟湰璇存槑锛氱敤鎴疯璇佺殑淇℃伅鍙戠敓鏀瑰彉 GET /api/User/GetUserInfoV2 */
+export async function getUserInfoV2(options?: API.RequestConfig) {
+ return request<API.UserInfoV2>('/api/User/GetUserInfoV2', {
+ method: 'GET',
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇鐢ㄦ埛绠�鍗曚俊鎭� GET /api/User/GetUserSimpleInfo */
+export async function getUserSimpleInfo(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetUserSimpleInfoParams,
+ options?: API.RequestConfig
+) {
+ return request<API.UserSimpleInfo>('/api/User/GetUserSimpleInfo', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇灏忕▼搴� 鍏虫敞銆佺矇涓濄�佽幏璧炪�佷簰鍏� GET /api/User/GetUserTotalInfo */
+export async function getUserTotalInfo(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIgetUserTotalInfoParams,
+ options?: API.RequestConfig
+) {
+ return request<API.GetUserTotalInfoOutput>('/api/User/GetUserTotalInfo', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+}
+
+/** 鑾峰彇鐢ㄦ埛閽卞寘绛剧珷鐘舵�� GET /api/User/GetUserWalletSignStatus */
+export async function getUserWalletSignStatus(options?: API.RequestConfig) {
+ return request<API.UserWalletSignStatusOutput>('/api/User/GetUserWalletSignStatus', {
+ method: 'GET',
+ ...(options || {}),
+ });
+}
+
+/** 鏍规嵁鐢ㄦ埛Id澶辨晥鐢ㄦ埛璁よ瘉 POST /api/User/InvalidUserCertificationByUserId */
+export async function invalidUserCertificationByUserId(
+ body: API.BaseIdInput,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/User/InvalidUserCertificationByUserId', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鎻愪氦涓汉璁よ瘉 POST /api/User/PersonalAttestationSubmit */
+export async function personalAttestationSubmit(
+ body: API.PersonalAttestationSubmitInput,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/User/PersonalAttestationSubmit', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鍙戦�佺敤鎴疯璇佸鏍搁獙璇佺爜 POST /api/User/SendUserCertificationAuditVerificationCode */
+export async function sendUserCertificationAuditVerificationCode(
+ body: API.SendPhoneVerificationCodeInput,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/User/SendUserCertificationAuditVerificationCode', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鍙戦�佺敤鎴疯璇佽垂鐢ㄥ彂绁ㄩ偖浠� POST /api/User/SendUserCertificationPayInvoicingEmail */
+export async function sendUserCertificationPayInvoicingEmail(
+ body: API.SendUserCertificationPayInvoicingEmailInput,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/User/SendUserCertificationPayInvoicingEmail', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 璁剧疆鏄惁鑳界櫥褰曠數瀛愮 POST /api/User/SetCanLoginUserSign */
+export async function setCanLoginUserSign(
+ body: API.SetCanLoginUserSignInput,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/User/SetCanLoginUserSign', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 璁剧疆鐢ㄦ埛鎾悎浜ゆ槗韬唤 POST /api/User/SetMatchMakingIdentity */
+export async function setMatchMakingIdentity(
+ body: API.SetMatchMakingIdentityInput,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/User/SetMatchMakingIdentity', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 璁剧疆鐢ㄦ埛AuthType POST /api/User/SetUserAuthType */
+export async function setUserAuthType(body: API.SetUserTypeInput, options?: API.RequestConfig) {
+ return request<number>('/api/User/SetUserAuthType', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 璁剧疆鐢ㄦ埛璁よ瘉瀹℃牳鐘舵�� POST /api/User/SetUserCertificationAuditStatus */
+export async function setUserCertificationAuditStatus(
+ body: API.SetUserCertificationAuditStatusInput,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/User/SetUserCertificationAuditStatus', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 淇濆瓨閾惰鍩烘湰淇℃伅 POST /api/User/SetUserEnterpiseBankInfo */
+export async function setUserEnterpiseBankInfo(
+ body: API.SetUserEnterpriseBankInfoInput,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/User/SetUserEnterpiseBankInfo', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 淇濆瓨浼佷笟鍩烘湰淇℃伅 POST /api/User/SetUserEnterpiseBaseInfo */
+export async function setUserEnterpiseBaseInfo(
+ body: API.SetUserEnterpiseBaseInfoInput,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/User/SetUserEnterpiseBaseInfo', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鍙栧叧鐢ㄦ埛 POST /api/User/UnFollowUser */
+export async function unFollowUser(body: API.UnFollowUserInput, options?: API.RequestConfig) {
+ return request<number>('/api/User/UnFollowUser', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 浼佷笟鐢ㄦ埛缂栬緫 POST /api/User/UpdateCompanyUser */
+export async function updateCompanyUser(
+ body: API.UpdateCertifiedUserInput,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/User/UpdateCompanyUser', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 瀹屽杽鍩虹淇℃伅 POST /api/User/UpdateUserBaseInfo */
+export async function updateUserBaseInfo(
+ body: API.UpdateUserBaseInfoInput,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/User/UpdateUserBaseInfo', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鏇存柊鐢ㄦ埛鍚嶇墖 POST /api/User/UpdateUserCard */
+export async function updateUserCard(body: API.UpdateUserCardInput, options?: API.RequestConfig) {
+ return request<number>('/api/User/UpdateUserCard', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 淇敼璁よ瘉淇℃伅 POST /api/User/UpdateUserCertification */
+export async function updateUserCertification(
+ body: API.UpdateUserCertificationBaseInput,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/User/UpdateUserCertification', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鏇存柊鐢ㄦ埛璁よ瘉瀹℃牳淇℃伅 POST /api/User/UpdateUserCertificationAudit */
+export async function updateUserCertificationAudit(
+ body: API.UpdateUserCertificationAuditInput,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/User/UpdateUserCertificationAudit', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鏇存柊鐢ㄦ埛淇℃伅 POST /api/User/UpdateUserInfo */
+export async function updateUserInfo(body: API.UpdateUserInfoInput, options?: API.RequestConfig) {
+ return request<number>('/api/User/UpdateUserInfo', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 璁よ瘉瀹℃牳 POST /api/User/UserAttestationCheck */
+export async function userAttestationCheck(
+ body: API.UserAttestationCheckInput,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/User/UserAttestationCheck', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 浼佷笟涓夎绱犺璇佹牎楠� POST /api/User/UserCertificationBestSignIdentity3Check */
+export async function userCertificationBestSignIdentity3Check(
+ body: API.UserCertificationBestSignIdentity3CheckInput,
+ options?: API.RequestConfig
+) {
+ return request<any>('/api/User/UserCertificationBestSignIdentity3Check', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鐢ㄦ埛璁よ瘉杩囨湡 GET /api/User/UserCertificationCertifiedTest */
+export async function userCertificationCertifiedTest(options?: API.RequestConfig) {
+ return request<number>('/api/User/UserCertificationCertifiedTest', {
+ method: 'GET',
+ ...(options || {}),
+ });
+}
+
+/** 鐢ㄦ埛璁よ瘉杩囨湡 GET /api/User/UserCertificationExpirationTask */
+export async function userCertificationExpirationTask(options?: API.RequestConfig) {
+ return request<number>('/api/User/UserCertificationExpirationTask', {
+ method: 'GET',
+ ...(options || {}),
+ });
+}
+
+/** 鐢ㄦ埛鍚敤/绂佺敤 GET /api/User/UserEnableOrForbid */
+export async function userEnableOrForbid(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: API.APIuserEnableOrForbidParams,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/User/UserEnableOrForbid', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+}
--
Gitblit v1.9.1