12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- import request from '@/utils/request'
- export function mining(data) {
- return request({
- url: '/api/mining',
- method: 'get',
- data
- });
- }
- export function buyMining(data,id) {
- return request({
- url: '/api/mining/'+id,
- method: 'post',
- data
- });
- }
- export function miningIndex(data) {
- return request({
- url: '/api/mining_index',
- method: 'get',
- data
- });
- }
- export function mymining(data) {
- return request({
- url: '/api/my_mining',
- method: 'get',
- data
- });
- }
- export function calculator(data) {
- return request({
- url: '/api/mining_calculator',
- method: 'get',
- data
- });
- }
- export function miningDateils(data,id) {
- return request({
- url: '/api/mining/'+id,
- method: 'get',
- data
- });
- }
|