第一次提交
This commit is contained in:
16
api/test.js
Normal file
16
api/test.js
Normal file
@@ -0,0 +1,16 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user