UNPKG

xlb-main-login

Version:

``` yarn install ```

105 lines (93 loc) 2.52 kB
import { dis_url } from './config' import { axios } from '@/utils/request' // 资产管理首页详情 export function Analysislist() { return axios({ url: dis_url + '/demo-wechat-work/v1/wechat/work/account/info', method: 'get', }) } // 充值记录 export function AnalysisChongzhilist(params) { return axios({ url: dis_url + '/demo-wechat-work/v1/wechat/work/account/recharge', method: 'get', params, }) } // 创建订单 export function AnalysisChongzhicreate(data) { return axios({ headers: { 'Content-Type': 'application/json;charset=UTF-8', }, url: dis_url + '/demo-wechat-work/v1/wechat/work/account/recharge', method: 'post', data, }) } //数据导出-导出充值记录 export function exportDataToExcel(params) { return axios({ url: dis_url + '/demo-wechat-work/v1/wechat/work/account/recharge/export', method: 'get', params, }) } // 返现列表 export function AnalysisFanxianlist(params) { return axios({ url: dis_url + '/demo-wechat-work/v1/wechat/work/account/returnMoney', method: 'get', params, }) } //数据导出-返现列表 export function exportDataToFanxianExcel(params) { return axios({ url: dis_url + '/demo-wechat-work/v1/wechat/work/account/returnMoney/export', method: 'get', params, }) } // 查询列表 export function AnalysisFindlist(state) { return axios({ url: dis_url + '/demo-wechat-work/v1/wechat/work/account/state/' + state, method: 'get', }) } // 提现记录 export function AnalysisFinddetaillist(params) { return axios({ url: dis_url + '/demo-wechat-work/v1/wechat/work/account/withdrawals', method: 'get', params, }) } // 提现信息 export function AnalysisTixiandetail(data) { return axios({ headers: { 'Content-Type': 'application/json;charset=UTF-8', }, url: dis_url + '/demo-wechat-work/v1/wechat/work/account/withdrawals', method: 'post', data, }) } //数据导出-提现列表 export function exportDataToTixianExcel(params) { return axios({ url: dis_url + '/demo-wechat-work/v1/wechat/work/account/withdrawals/export', method: 'get', params, }) } // 获取红包获客发放金额 export function pushmoney(type, id) { return axios({ url: dis_url + '/demo-wechat-work/v1/wechat/work/event/' + type + '/' + id + '/returned-money', method: 'get', }) }