1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- import request from '@/utils/request'
- import {upFilse} from '@/utils/request'
- export function recharge(data) {
- return request({
- url: '/api/recharge/money',
- method: 'post',
- data
- });
- }
- //上传图片
- export function upload(data) {
- return upFilse({
- url: '/api/upload/image',
- method: 'post',
- data
- });
- }
- export function money(data,id) {
- return request({
- url: '/api/recharge/money/'+id,
- method: 'post',
- data
- });
- }
- export function wallet(data) {
- return request({
- url: '/api/wallet',
- method: 'get',
- data
- });
- }
- export function moneyLog(data,code) {
- return request({
- url: '/api/money/log/'+code,
- method: 'get',
- data
- });
- }
- export function cash(data) {
- return request({
- url: '/api/extract/cash',
- method: 'POST',
- data
- });
- }
- export function spread(data) {
- return request({
- url: '/api/spread/people',
- method: 'POST',
- data
- });
- }
- export function goPay(data) {
- return request({
- url: '/api/trade/go_pay',
- method: 'POST',
- data
- });
- }
- export function trade(data) {
- return request({
- url: '/api/trade/money_type',
- method: 'get',
- 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
- });
- }
- export function edit(data,id) {
- return request({
- url: '/api/wallet/address/edit/'+id,
- method: 'post',
- data
- });
- }
- export function miner(data) {
- return request({
- url: '/api/spread/people/all',
- method: 'post',
- data
- })
- }
|