fix(接口): 接口暂时设置成默认参数获取数据

This commit is contained in:
hzj 2025-09-27 15:07:11 +08:00
parent c1f2160017
commit 26ea5b87bb

View File

@ -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} 返回申请记录列表