import Service from '../lib/service' class FinancialService extends Service { constructor () { super() } //根据条件查看拒绝列表-用于下拉和选择展示理由 async reasonsRefusalList (params = {}) { let res = await this.postAll("Host80","/reasons/refusal/list", params); return res } /*客户财务*/ //出入金列表 async BalanceList (params = {}) { let res = await this.postAll("Host04","/balance/list", params); return res } //入金接口 async PayBankCode (url,params = {}) { let res = await this.postAll("Host04",url,params); return res } //重新提交接口 async PayDealResult (url,params = {}) { let res = await this.postAll("Host04",url,params); return res } //银行卡出金申请 async WithdrawApplyBank (url,params = {}) { let res = await this.postAll("Host04",url, params); return res } //数字货币出金 async WithdrawAapplyDigitalCurrency (url,params = {}) { let res = await this.postAll("Host04",url, params); return res } //银行列表 async BankList (params = {}) { let res = await this.postAll("Host04","/channel/bank/list", params); return res } //出金通道列表 async RemitChannelList (params = {}) { let res = await this.postAll("Host04","/remit/channel/list", params); return res } //入金通道列表 async RemittanceChannelList (params = {}) { let res = await this.postAll("Host04","/remittance/channel/list", params); return res } //内转申请 async TransferApply (params = {}) { let res = await this.postAll("Host04","/transfer/apply", params); return res } //内转列表 async TransferList (params = {}) { let res = await this.postAll("Host04","/transfer/list", params); return res } //内转用到的数据(最大 最小内转量) async transferInfo (params = {}) { let res = await this.postAll("Host04","/transfer/info", params); return res } //获取代理账户列表 async getAgentList (params = {}) { let res = await this.postAll("Host80","/account/agent/list", params); return res } //银行电汇入金 async telegraphicPay (params = {}) { let res = await this.postAll("Host04","/telegraphic/pay", params); return res } //银行卡列表 async customBankList (params = {}) { let res = await this.postAll("Host80","/custom/bank/list", params); return res } //数字货币入金 async digitalPay (params = {}) { let res = await this.postAll("Host04","/digital/pay", params); return res } //可减免手续费用次数 async remainingReductionNumber (params = {}) { let res = await this.postAll("Host04","/withdraw/remaining/reduction/number", params); return res } /* ib */ //银行卡出金申请 async ibWithdrawApplyBank (url,params = {}) { let res = await this.postAll("Host04","/agent" + url, params); return res } //数字货币出金 async ibWithdrawAapplyDigitalCurrency (url,params = {}) { let res = await this.postAll("Host04","/agent" + url, params); return res } //出金取消 async withdrawCancel (params = {}) { let res = await this.postAll("Host04","/withdraw/cancel", params); return res } //出金取消-后台 async withdrawCancelBackstage (params = {}) { let res = await this.postAll("Host04","/withdraw/cancel/backstage", params); return res } //20赠金数据 async depositCheckExistSuccess (params = {}) { let res = await this.postAll("Host04","/finance/deposit/check/exist/success", params); return res } //出金邮箱验证码 async withdrawCode (params = {}) { let res = await this.postAll("Host04","/withdraw/apply/digital/currency/send/code", params); return res } async getWebsdkLink (params = {}) { let res = await this.postAll("Host04","/withdraw/getWebsdkLink", params); return res } } export default new FinancialService