优惠券:完善APP优惠券查询接口
This commit is contained in:
1 parent
2bf4f1fa56
commit
1f7824b0d7
6 files changed
+9
-17
No files matched your search
+1
-1
@@ -32,7 +32,7 @@ export function setFormId(formId) {
|
||||
}
|
||||
|
||||
/**
|
||||
* 领取优惠卷
|
||||
* 领取优惠券
|
||||
* @param int couponId
|
||||
*
|
||||
*/
|
||||
|
||||
+1
-1
@@ -178,7 +178,7 @@ export function orderConfirm(cartId, isNew, addAgain,secKill,combination,bargain
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取当前金额能使用的优惠卷
|
||||
* 获取当前金额能使用的优惠券
|
||||
* @param string price
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -15,15 +15,6 @@ export function getCouponPage(data) {
|
||||
return request.get("app-api/promotion/coupon/page", data);
|
||||
}
|
||||
|
||||
export function getCouponTemplateList(spuId, useType) {
|
||||
return request.get("app-api/promotion/coupon-template/list", {
|
||||
spuId,
|
||||
useType
|
||||
}, {
|
||||
noAuth: true // TODO 芋艿:后续要做调整
|
||||
});
|
||||
}
|
||||
|
||||
export function getCouponTemplatePage(data) {
|
||||
return request.get("app-api/promotion/coupon-template/page", data);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user