From 4d6f415424e7d126e379d456cd17e7fe0ad5e433 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8?= Date: Wed, 10 Jun 2026 14:30:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E9=83=A8=E5=88=86=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E8=BF=94=E5=9B=9E=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/modules/capital/withdraw.ts | 6 +++--- src/api/modules/profile/business.ts | 8 ++++---- src/api/modules/user.ts | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/api/modules/capital/withdraw.ts b/src/api/modules/capital/withdraw.ts index 906878c..4997dc0 100644 --- a/src/api/modules/capital/withdraw.ts +++ b/src/api/modules/capital/withdraw.ts @@ -2,17 +2,17 @@ import { request } from '@/api' // 获取用户钱包信息 export const getWalletCapital = () => { - return request.get('/user/getWalletCapital') + return request.get('/user/getWalletCapital', undefined, { showMessage: false }) } // 获取取款渠道列表 (role_id >= 5 使用) export const getWithdrawChannel = () => { - return request.get('/withdraw/withdrawChannel') + return request.get('/withdraw/withdrawChannel', undefined, { showMessage: false }) } // 获取代理取款渠道列表 (role_id < 5 使用) export const getAgentWithdrawChannel = () => { - return request.get('/withdraw/agentWithdrawChannel') + return request.get('/withdraw/agentWithdrawChannel', undefined, { showMessage: false }) } // 代理取款 (role_id < 5) diff --git a/src/api/modules/profile/business.ts b/src/api/modules/profile/business.ts index d527163..f86704c 100644 --- a/src/api/modules/profile/business.ts +++ b/src/api/modules/profile/business.ts @@ -8,17 +8,17 @@ export async function getMarketListApi(params: searchParams): Promise { //获取所属上级列表 export async function getParAgentListApi(params: pointDiffConfigParams): Promise { - return request.get('/agent/getParAgentListByRoleId', { ...params }) + return request.get('/agent/getParAgentListByRoleId', { ...params }, { showMessage: false }) } //获取代理点差列表 export async function getPointDiffConfigListApi(params: pointDiffConfigParams): Promise { - return request.get('/agent/getSelfVarietyPointDiffConfig', { ...params }) + return request.get('/agent/getSelfVarietyPointDiffConfig', { ...params }, { showMessage: false }) } //获取风控模板选列表 export async function getRiskTemplateListApi(): Promise { - return request.get('/agent/getRiskControlOptions') + return request.get('/agent/getRiskControlOptions', undefined, { showMessage: false }) } //添加做市商 @@ -40,5 +40,5 @@ export async function editAgentBail(params: any): Promise { //获取承接特殊做市选项 export async function getBasetsOptionsApi(): Promise { - return request.get('/agent/getBasetsOptions') + return request.get('/agent/getBasetsOptions', undefined, { showMessage: false }) } diff --git a/src/api/modules/user.ts b/src/api/modules/user.ts index 9915b2f..95a1e34 100644 --- a/src/api/modules/user.ts +++ b/src/api/modules/user.ts @@ -97,7 +97,7 @@ export async function checkAccountIdIsSonForUser(params: { account_id: string }) * 获取用户信息 */ export async function getUserBaseInfo(params: { account_id: string }) { - return request.get('/user/getUserBaseInfo', params) + return request.get('/user/getUserBaseInfo', params, { showMessage: false }) } /** @@ -106,5 +106,5 @@ export async function getUserBaseInfo(params: { account_id: string }) { * @returns Promise 返回 MQTT key */ export async function initMqttKeyApi(params: { device_no: string }) { - return request.post('/initMqttKey', params) + return request.post('/initMqttKey', params, { showMessage: false }) }