From 82e613291dbaca4bc0e9964b0111037a94a68918 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期日, 19 十月 2025 17:53:04 +0800
Subject: [PATCH] fix: bug
---
packages/services/api/User.ts | 849 --------------------------------------------------------
1 files changed, 2 insertions(+), 847 deletions(-)
diff --git a/packages/services/api/User.ts b/packages/services/api/User.ts
index 2598eb6..603e2e7 100644
--- a/packages/services/api/User.ts
+++ b/packages/services/api/User.ts
@@ -2,855 +2,10 @@
// @ts-ignore
import { request } from '@/utils/request';
-/** 鏂板鐢ㄦ埛璁よ瘉瀹℃牳淇℃伅 POST /api/User/AddUserCertificationAudit */
-export async function addUserCertificationAudit(
- body: API.AddUserCertificationAuditInput,
- options?: API.RequestConfig
-) {
- return request<API.AddUserCertificationAuditDto>('/api/User/AddUserCertificationAudit', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鐢宠鐢ㄦ埛璇佷功 POST /api/User/ApplyUserCertificate */
-export async function applyUserCertificate(
- body: API.ApplyUserCertificateInput,
- options?: API.RequestConfig
-) {
- 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.CheckBatchCreateCompanyUserInput[],
- 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,
- },
- ...(options || {}),
- });
-}
-
-/** 鏍¢獙鐢ㄦ埛璁よ瘉鎵嬫満鍙�
-鐗堟湰璇存槑锛氱敤鎴疯璇佺殑淇℃伅鍙戠敓鏀瑰彉 POST /api/User/CheckUserThreamVerificationCode */
-export async function checkUserThreamVerificationCode(
- body: API.CheckPhoneVerificationCodeInput,
- options?: API.RequestConfig
-) {
- return request<boolean>('/api/User/CheckUserThreamVerificationCode', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鎻愪氦浼佷笟璁よ瘉 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',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鏂板缓浼佷笟鐢ㄦ埛 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',
- },
- data: body,
- ...(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 || {}),
- });
-}
-
-/** 鑾峰彇浜掔浉鍏虫敞鍒嗛〉鍒楄〃 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/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/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 */
+/** 鑾峰彇涓汉淇℃伅璇︽儏 GET /api/User/GetUserInfo */
export async function getUserInfo(options?: API.RequestConfig) {
- return request<API.UserInfoV2>('/api/User/GetUserInfo', {
+ return request<API.UserDto>('/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/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