去除消息提示

This commit is contained in:
2026-06-12 17:28:48 +08:00
parent 5f45eac946
commit 085d284596
14 changed files with 20 additions and 20 deletions

View File

@ -8,17 +8,17 @@ export async function getClientListApi(params: searchParams): Promise<accountLis
//获取代理列表 //获取代理列表
export async function getAgentOptionsApi(){ export async function getAgentOptionsApi(){
return request.get('/user/getParOptions') return request.get('/user/getParOptions', undefined, { showMessage: false })
} }
//获取手续费模板列表 //获取手续费模板列表
export async function getFeeTemplateOptionsApi(){ export async function getFeeTemplateOptionsApi(){
return request.get('/user/getFeeSettingOptions') return request.get('/user/getFeeSettingOptions', undefined, { showMessage: false })
} }
//获取风控模板列表 //获取风控模板列表
export async function getRiskTemplateOptionsApi() { export async function getRiskTemplateOptionsApi() {
return request.get('/user/getRiskControlOptions') return request.get('/user/getRiskControlOptions', undefined, { showMessage: false })
} }
// 添加客户 // 添加客户

View File

@ -7,7 +7,7 @@ export const createAgentApi = (params: any) => {
//获取用户杠杆选项 //获取用户杠杆选项
export const getLeverOptionsApi = () => { export const getLeverOptionsApi = () => {
return request.get('/user/getLeverOptions') return request.get('/user/getLeverOptions', undefined, { showMessage: false })
} }
//编辑账户名称 //编辑账户名称

View File

@ -2,7 +2,7 @@ import { request } from '@/api'
// 获取入金货币列表 // 获取入金货币列表
export const getCurrencyList = () => { export const getCurrencyList = () => {
return request.get('/currency/getCurrencyList') return request.get('/currency/getCurrencyList', undefined, { showMessage: false })
} }
// 创建入金货币 // 创建入金货币
export const createCurrency = (params: any) => { export const createCurrency = (params: any) => {

View File

@ -2,7 +2,7 @@ import { request } from '@/api'
// 获取入金渠道列表 // 获取入金渠道列表
export const getChannelList = () => { export const getChannelList = () => {
return request.get('/channel/getChannelList') return request.get('/channel/getChannelList', undefined, { showMessage: false })
} }
// 创建入金渠道列表 // 创建入金渠道列表
export const createChannel = (params: any) => { export const createChannel = (params: any) => {
@ -19,7 +19,7 @@ export const delChannel = (params: any) => {
// 获取用户充值渠道列表 // 获取用户充值渠道列表
export const getRechargeChannelList = () => { export const getRechargeChannelList = () => {
return request.get('/user/regchargeChannel') return request.get('/user/regchargeChannel', undefined, { showMessage: false })
} }
// 用户充值 // 用户充值

View File

@ -2,7 +2,7 @@ import { request } from '@/api'
// 获取取款渠道列表 // 获取取款渠道列表
export const getChannelWithdrawList = () => { export const getChannelWithdrawList = () => {
return request.get('/channel/getChannelWithdrawList') return request.get('/channel/getChannelWithdrawList', undefined, { showMessage: false })
} }
// 创建取款渠道 // 创建取款渠道
export const createChannelWithdraw = (params: any) => { export const createChannelWithdraw = (params: any) => {
@ -19,5 +19,5 @@ export const delChannelWithdraw = (params: any) => {
// 获取货币列表(用于下拉框) // 获取货币列表(用于下拉框)
export const getChannelList = () => { export const getChannelList = () => {
return request.get('/currency/getCurrencyList') return request.get('/currency/getCurrencyList', undefined, { showMessage: false })
} }

View File

@ -3,11 +3,11 @@ import { request } from '@/api'
// 获取账户列表 // 获取账户列表
export async function getAllAccount(params: any): Promise<any> { export async function getAllAccount(params: any): Promise<any> {
return await request.get<any>('/user/getAllAccount', params) return await request.get<any>('/user/getAllAccount', params, { showMessage: false })
} }
// 获取用户钱包资金 // 获取用户钱包资金
export async function getWalletCapital(): Promise<any> { export async function getWalletCapital(): Promise<any> {
return await request.get<any>('/user/getWalletCapital') return await request.get<any>('/user/getWalletCapital', undefined, { showMessage: false })
} }
//重置密码 //重置密码

View File

@ -2,7 +2,7 @@ import { request } from '@/api';
//获取钱包选项 //获取钱包选项
export const getTransferWalletOptionsApi = () => { export const getTransferWalletOptionsApi = () => {
return request.get('/user/getWalletOptions') return request.get('/user/getWalletOptions', undefined, { showMessage: false })
} }
// 转账 // 转账
export const transferApi = (params: any) => { export const transferApi = (params: any) => {

View File

@ -4,7 +4,7 @@ import { request } from '@/api'
* *
*/ */
export async function getCardInfo(): Promise<any> { export async function getCardInfo(): Promise<any> {
return request.get<any>('/aws/getInfo') return request.get<any>('/aws/getInfo', { showMessage: false })
} }
/** /**

View File

@ -2,7 +2,7 @@ import { request } from '@/api'
//获取手续费模板 //获取手续费模板
export const getFeeSettingList = () => { export const getFeeSettingList = () => {
return request.get('/feeHandl/getFeeSettingList') return request.get('/feeHandl/getFeeSettingList', undefined, { showMessage: false })
} }
//获取手续费模板详情 //获取手续费模板详情
export const getFeeSettingDetail = (params: any) => { export const getFeeSettingDetail = (params: any) => {

View File

@ -10,7 +10,7 @@ import type {
// 获取用户信息 // 获取用户信息
export async function getUserInfoApi(): Promise<UserInfo> { export async function getUserInfoApi(): Promise<UserInfo> {
return request.get<UserInfo>('/user/getUserInfo'); return request.get<UserInfo>('/user/getUserInfo', undefined, { showMessage: false });
} }
// 修改语言类型 // 修改语言类型

View File

@ -2,7 +2,7 @@ import { request } from '@/api';
//获取风险列表 //获取风险列表
export const getRiskListApi = () => { export const getRiskListApi = () => {
return request.get('/riskControl/getRiskControlList') return request.get('/riskControl/getRiskControlList', undefined, { showMessage: false })
} }
//添加风险控制 //添加风险控制
export const addRiskApi = (params: any) => { export const addRiskApi = (params: any) => {

View File

@ -13,7 +13,7 @@ import type {
* @returns Promise<RoleListResponse> * @returns Promise<RoleListResponse>
*/ */
export async function getRoleApi(): Promise<RoleListResponse> { export async function getRoleApi(): Promise<RoleListResponse> {
return request.get<RoleListResponse>('/roles/list'); return request.get<RoleListResponse>('/roles/list', undefined, { showMessage: false });
} }
/** /**

View File

@ -6,7 +6,7 @@ export async function getVarietyListApi(params: any): Promise<any> {
} }
//获取交易组列表 //获取交易组列表
export async function getTradeGroupListApi(): Promise<any> { export async function getTradeGroupListApi(): Promise<any> {
return request.get<any>('/contractVariety/getGroupList') return request.get<any>('/contractVariety/getGroupList', undefined, { showMessage: false })
} }
//创建合约品种 //创建合约品种
@ -26,5 +26,5 @@ export async function syncVarietyApi(): Promise<any> {
//获取品种枚举 //获取品种枚举
export async function getVarietyEnumsApi(): Promise<any> { export async function getVarietyEnumsApi(): Promise<any> {
return request.get<any>('/contractVariety/getVarietyEnums') return request.get<any>('/contractVariety/getVarietyEnums', undefined, { showMessage: false })
} }

View File

@ -91,7 +91,7 @@ export async function editUserApi(params: {
* *
*/ */
export async function checkAccountIdIsSonForUser(params: { account_id: string }) { export async function checkAccountIdIsSonForUser(params: { account_id: string }) {
return request.get<boolean>('/user/checkAccountIdIsSonForUser', params) return request.get<boolean>('/user/checkAccountIdIsSonForUser', params, { showMessage: false })
} }
/** /**
* *