17 lines
354 B
JavaScript
17 lines
354 B
JavaScript
import http from './index.js';
|
|
|
|
// 分页查询订单
|
|
export const pageTest = (params) => http.get('/shop/order/page', {params})
|
|
|
|
// 查询订单
|
|
export const getTest = (orderId) => http.get('/shop/order/' + orderId)
|
|
|
|
// 添加订单
|
|
export const testIndex = (params) => http.get('/shop/test', params)
|
|
|
|
export default {
|
|
pageTest,
|
|
getTest,
|
|
testIndex
|
|
}
|