[本时生活小程序-线上备份]

This commit is contained in:
张慢慢
2021-05-21 15:02:18 +08:00
commit f0302de899
206 changed files with 12884 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
})