新增退货流程

This commit is contained in:
唐明明
2023-08-29 13:53:48 +08:00
parent 308aeeafb5
commit 510cbeb181
17 changed files with 404 additions and 13 deletions

View File

@@ -40,11 +40,24 @@ const submitRefund = (id, data) => req({
data
})
// 取消退货
const refundsCancel = id => req({
url : "mall/refunds/" + id + "/cancel",
method : "POST",
})
// 退货前置
const deliverInit = id => req({
url : "mall/refunds/" + id + "/deliver_init"
})
export default ({
list,
deliver,
info,
log,
refundPreposition,
submitRefund
submitRefund,
refundsCancel,
deliverInit
})