12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- import request from '@/utils/request'
- export function mining(data) {
- return request({
- url: '/api/mining',
- method: 'get',
- data
- });
- }
- export function mymining(data) {
- return request({
- url: '/api/my_mining',
- method: 'get',
- data
- });
- }
- export function buyMining(data,id) {
- return request({
- url: '/api/mining/'+id,
- method: 'post',
- data
- });
- }
- export function miningDateils(data,id) {
- return request({
- url: '/api/mining/'+id,
- method: 'get',
- data
- });
- }
- // 兑换记录
- export function getSp(data,id) {
- return request({
- url: '/api/lala/sp_exchange/'+id,
- method: 'get',
- data
- });
- }
- // 特别兑换
- export function spExchange(data,id) {
- return request({
- url: '/api/lala/sp_exchange/'+id,
- method: 'post',
- data
- });
- }
- export function activityDetail(data,id) {
- return request({
- url: '/api/activity/'+id,
- method: 'get',
- data
- });
- }
- export function joinActivity(data,id) {
- return request({
- url: '/api/activity/'+id,
- method: 'post',
- data
- });
- }
- export function myActivity(data,id) {
- return request({
- url: '/api/activity/children/'+id,
- method: 'get',
- data
- });
- }
|