forked from wuchao/uniapp-h5
32 lines
549 B
JavaScript
32 lines
549 B
JavaScript
|
import request from "../utils/request";
|
||
|
|
||
|
export const login = (params) => request({
|
||
|
url:'/v1/xy/login',
|
||
|
method:'POST',
|
||
|
...params
|
||
|
})
|
||
|
|
||
|
export const getProduceList = (params) => request({
|
||
|
url:'/v1/auth/activity',
|
||
|
method:'POST',
|
||
|
...params
|
||
|
})
|
||
|
|
||
|
export const goBuy = (params) => request({
|
||
|
url:'/v1/auth/order/buy',
|
||
|
method:'POST',
|
||
|
...params
|
||
|
})
|
||
|
|
||
|
export const getTicketList = (params) => request({
|
||
|
url:'/v1/auth/order/list',
|
||
|
method:'POST',
|
||
|
...params
|
||
|
})
|
||
|
|
||
|
export const queryOrder = (params) => request({
|
||
|
url:'/v1/auth/order/query',
|
||
|
...params
|
||
|
})
|
||
|
|