12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- import request from '@/utils/request'
- export function getOrderList(data = {}) {
- return request({
- 'url': '/app/order/list',
- headers: {
- isToken: true
- },
- method: 'post',
- data,
- timeout: 20000
- })
- }
- export function orderAdd(data = {}) {
- return request({
- 'url': '/app/order/add',
- headers: {
- isToken: true
- },
- method: 'post',
- data,
- timeout: 20000
- })
- }
- export function orderPayAli(data = {}) {
- return request({
- 'url': '/app/order/pay/ali',
- headers: {
- isToken: true
- },
- method: 'post',
- data,
- timeout: 20000
- })
- }
- export function orderPayWx(data = {}) {
- return request({
- 'url': '/app/order/pay/wx',
- headers: {
- isToken: true
- },
- method: 'post',
- data,
- timeout: 20000
- })
- }
- export function orderPayApple(data = {}) {
- return request({
- 'url': '/app/order/pay/apple',
- headers: {
- isToken: true
- },
- method: 'post',
- data,
- timeout: 20000
- })
- }
- export function orderCheck(data = {}) {
- return request({
- 'url': '/app/order/check',
- headers: {
- isToken: true
- },
- method: 'post',
- data,
- timeout: 20000
- })
- }
|