fix: 修改订单计算逻辑

This commit is contained in:
2025-09-19 18:32:25 +08:00
parent 37f1079b1f
commit f76dff67d4
20 changed files with 1800 additions and 701 deletions

View File

@@ -17,6 +17,22 @@ const API = {
params
});
},
// 删除用户优惠券
delete(params: any) {
return request({
url: `${baseURL}/deleteRecord`,
method: "delete",
params,
});
},
//优惠券发放
giveCoupon(data: any) {
return request<any>({
url: `${baseURL}/grant`,
method: "post",
data
});
},
}
export default API;