绚火健康

This commit is contained in:
2023-08-15 17:18:15 +08:00
commit 32cc588ae7
200 changed files with 8924 additions and 0 deletions

51
api/interfaces/order.js Normal file
View File

@@ -0,0 +1,51 @@
/*
* 手太欠
* 愿这世界都如故事里一样 美好而动人~
*/
import { req } from "../request"
// 订单首页
const list = data => req({
url : "mall/orders",
data: data
})
// 订单详情
const goodsDet = (order) => req({
url : "mall/orders/" + order
})
// 订单取消
const goodsCancel = (order) => req({
url : "mall/orders/" + order + "/cancel",
method: "PUT"
})
// 订单删除
const goodsDel = (order) => req({
url : "mall/orders/" + order,
method: "DELETE"
})
// 订单签收
const goodsSign = (order) => req({
url : "mall/orders/" + order + "/sign",
method: "PUT"
})
// 快递100-免费
const kuaiDi = (order, data) => req({
url : "mall/orders/" + order + "/logistic",
data: data
})
export default ({
list,
goodsDet,
goodsCancel,
goodsDel,
goodsSign,
kuaiDi
})