UNPKG

xlb-main-login

Version:

``` yarn install ```

40 lines (35 loc) 839 B
import { locality } from './config' import { axios } from '@/utils/request' //提现列表 export function depositList(params) { return axios({ url: locality + '/v1/shop/withdrawals/record', method: 'get', params, }) } //提现导出 export function depositDerive(params) { return axios({ url: locality + '/v1/shop/withdrawals/record/e', method: 'get', params, }) } //提现导出 export function deriveCard(params) { return axios({ url: locality + '/v1/shop/withdrawals/info', method: 'get', params, }) } // 新增提现 export function addDeposit(data, type) { return axios({ headers: { 'Content-Type': 'application/json;charset=UTF-8' }, url: locality + '/v1/shop/withdrawals/record?type=' + type, method: 'post', data, }) }