import request from '@/utils/request'
import {upFilse} from '@/utils/request'

export function moneyLog(data,code){
 return request({
	 //地址
	 url:'/api/money/log/'+code,
	 //请求方式
	 method:'get',
	 //内容
	 data
 })
}
export function wallet(data){
	return request({
		url:'/api/wallet',
		method:'get',
		data
	})
}
export function goPay(data) {
	return request({
		url: '/api/trade/go_pay',
		method: 'POST',
		data
	});
}
export function recharge(data) {
	return request({
		url: '/api/recharge/money',
		method: 'post',
		data
	});
}
export function shan(data) {
	return request({
		url: '/api/money/exchange',
		method: 'POST',
		data
	});
}
export function cash(data) {
	return request({
		url: '/api/extract/cash',
		method: 'POST',
		data
	});
}
export function cashmoney_type(data) {
	return request({
		url: '/api/cash/money_type',
		method: 'get',
		data
	});
}
export function calculator(data) {
	return request({
		url: '/api/extract/calculator',
		method: 'post',
		data
	});
}