From 26ea5b87bbd86d41cb78187257de68a37b74e37d Mon Sep 17 00:00:00 2001 From: hzj <1304805162@qq.com> Date: Sat, 27 Sep 2025 15:07:11 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3):=20=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E6=9A=82=E6=97=B6=E8=AE=BE=E7=BD=AE=E6=88=90=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E8=8E=B7=E5=8F=96=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wallet.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/api/wallet.js b/src/api/wallet.js index 8030d7b..c391309 100644 --- a/src/api/wallet.js +++ b/src/api/wallet.js @@ -1,4 +1,4 @@ -import {get, post} from '../utils/http.js' +import { get, post } from '../utils/http.js' /** * 获取钱包流水详情 @@ -42,15 +42,14 @@ export function userBankTransfer(data) { return post('/wallet/bank/transferGold', data) } - /** * 搜索用户资料 * @param {string} type - 用户类型 (AGENT/BD/ANCHOR) * @param {string} account - 用户账号/ID * @returns {Promise} 返回用户资料 */ -export function userBankSearchUserProfile(type, account) { - return get(`/wallet/bank/search/user-profile?type=${type}&account=${account}`) +export function userBankSearchUserProfile(account) { + return get(`/wallet/bank/search/user-profile?account=${account}&type=AGENT`) } /** @@ -152,7 +151,6 @@ export function getTeamApplyRecord(teamId, status) { return get(`/team/user/apply/record?teamId=${teamId}&status=${status}`) } - /** * 获取自己的申请记录 * @returns {Promise} 返回申请记录列表