This commit is contained in:
张慢慢
2021-05-24 13:56:00 +08:00
commit a7995d90bc
208 changed files with 13143 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
import {req} from "../request"
//兑换订单列表
const index = (type) => req({url: "orders/index", data: {type: type}})
//兑换订单详情
const show = (orderid) => req({url: "orders/show?", data: {orderid: orderid}})
//取消兑换订单
const cancel = (orderid) => req({url: "orders/cancel?orderid=" + orderid , method: "POST"})
//兑换订单支付
const payments = (orderid) => req({url: "payments/order?orderid=" + orderid})
export default({
index,
show,
cancel,
payments
})