去除部分接口返回提示

This commit is contained in:
2026-06-10 14:30:00 +08:00
parent 6cc608377b
commit 4d6f415424
3 changed files with 9 additions and 9 deletions

View File

@ -2,17 +2,17 @@ import { request } from '@/api'
// 获取用户钱包信息 // 获取用户钱包信息
export const getWalletCapital = () => { export const getWalletCapital = () => {
return request.get('/user/getWalletCapital') return request.get('/user/getWalletCapital', undefined, { showMessage: false })
} }
// 获取取款渠道列表 (role_id >= 5 使用) // 获取取款渠道列表 (role_id >= 5 使用)
export const getWithdrawChannel = () => { export const getWithdrawChannel = () => {
return request.get('/withdraw/withdrawChannel') return request.get('/withdraw/withdrawChannel', undefined, { showMessage: false })
} }
// 获取代理取款渠道列表 (role_id < 5 使用) // 获取代理取款渠道列表 (role_id < 5 使用)
export const getAgentWithdrawChannel = () => { export const getAgentWithdrawChannel = () => {
return request.get('/withdraw/agentWithdrawChannel') return request.get('/withdraw/agentWithdrawChannel', undefined, { showMessage: false })
} }
// 代理取款 (role_id < 5) // 代理取款 (role_id < 5)

View File

@ -8,17 +8,17 @@ export async function getMarketListApi(params: searchParams): Promise<any> {
//获取所属上级列表 //获取所属上级列表
export async function getParAgentListApi(params: pointDiffConfigParams): Promise<any> { export async function getParAgentListApi(params: pointDiffConfigParams): Promise<any> {
return request.get<any>('/agent/getParAgentListByRoleId', { ...params }) return request.get<any>('/agent/getParAgentListByRoleId', { ...params }, { showMessage: false })
} }
//获取代理点差列表 //获取代理点差列表
export async function getPointDiffConfigListApi(params: pointDiffConfigParams): Promise<any> { export async function getPointDiffConfigListApi(params: pointDiffConfigParams): Promise<any> {
return request.get<any>('/agent/getSelfVarietyPointDiffConfig', { ...params }) return request.get<any>('/agent/getSelfVarietyPointDiffConfig', { ...params }, { showMessage: false })
} }
//获取风控模板选列表 //获取风控模板选列表
export async function getRiskTemplateListApi(): Promise<any> { export async function getRiskTemplateListApi(): Promise<any> {
return request.get<any>('/agent/getRiskControlOptions') return request.get<any>('/agent/getRiskControlOptions', undefined, { showMessage: false })
} }
//添加做市商 //添加做市商
@ -40,5 +40,5 @@ export async function editAgentBail(params: any): Promise<any> {
//获取承接特殊做市选项 //获取承接特殊做市选项
export async function getBasetsOptionsApi(): Promise<any> { export async function getBasetsOptionsApi(): Promise<any> {
return request.get<any>('/agent/getBasetsOptions') return request.get<any>('/agent/getBasetsOptions', undefined, { showMessage: false })
} }

View File

@ -97,7 +97,7 @@ export async function checkAccountIdIsSonForUser(params: { account_id: string })
* *
*/ */
export async function getUserBaseInfo(params: { account_id: string }) { export async function getUserBaseInfo(params: { account_id: string }) {
return request.get<boolean>('/user/getUserBaseInfo', params) return request.get<boolean>('/user/getUserBaseInfo', params, { showMessage: false })
} }
/** /**
@ -106,5 +106,5 @@ export async function getUserBaseInfo(params: { account_id: string }) {
* @returns Promise<string> MQTT key * @returns Promise<string> MQTT key
*/ */
export async function initMqttKeyApi(params: { device_no: string }) { export async function initMqttKeyApi(params: { device_no: string }) {
return request.post<string>('/initMqttKey', params) return request.post<string>('/initMqttKey', params, { showMessage: false })
} }