From ea2367379c15d29b94b96c25dc577b37e15e9f44 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期四, 25 九月 2025 16:32:27 +0800 Subject: [PATCH] feat: 日志 --- src/services/api/user.ts | 50 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 48 insertions(+), 2 deletions(-) diff --git a/src/services/api/user.ts b/src/services/api/user.ts index 5ea222a..10561c9 100644 --- a/src/services/api/user.ts +++ b/src/services/api/user.ts @@ -2,6 +2,21 @@ // @ts-ignore import { request } from '@/utils/request'; +/** 鍒犻櫎鐢ㄦ埛閾惰鍗′俊鎭� DELETE /api/user/user/deletePersonalUserBankCard */ +export async function deletePersonalUserBankCard( + body: API.DeletePersonalUserBankCardCommand, + options?: API.RequestConfig +) { + return request<number>('/api/user/user/deletePersonalUserBankCard', { + method: 'DELETE', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + /** 鏌ヨ杩愯惀绔敤鎴峰垎椤靛垪琛ㄦ暟鎹� POST /api/user/user/getOperationUserInfos */ export async function getOperationUserInfos( body: API.GetOperationUserInfosQuery, @@ -30,8 +45,6 @@ method: 'GET', params: { ...params, - request: undefined, - ...params['request'], }, ...(options || {}), }); @@ -106,6 +119,24 @@ ); } +/** 鏌ヨ涓汉閽卞寘浣欓鍒嗛〉鍒楄〃 POST /api/user/user/getPersonalUserWalletBalances */ +export async function getPersonalUserWalletBalances( + body: API.GetPersonalUserWalletBalancesQuery, + options?: API.RequestConfig +) { + return request<API.GetPersonalUserWalletBalancesQueryResult>( + '/api/user/user/getPersonalUserWalletBalances', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + } + ); +} + /** 鏌ヨ鐢ㄦ埛瑙掕壊鍒楄〃 GET /api/user/user/getUserInfoRoles */ export async function getUserInfoRoles( // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) @@ -136,6 +167,21 @@ }); } +/** 鍙戦�佺粦瀹氶摱琛屽崱鐭俊 POST /api/user/user/sendSavePersonalUserBankCardVerifyCode */ +export async function sendSavePersonalUserBankCardVerifyCode( + body: API.SendSavePersonalUserBankCardVerifyCodeCommand, + options?: API.RequestConfig +) { + return request<string>('/api/user/user/sendSavePersonalUserBankCardVerifyCode', { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} + /** 璁剧疆鐢ㄦ埛淇℃伅瑙掕壊 PUT /api/user/user/setUserInfoRoles */ export async function setUserInfoRoles( body: API.SetUserInfoRolesCommand, -- Gitblit v1.9.1