You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
469 B
23 lines
469 B
7 months ago
|
import request from '@/utils/requestUtil'
|
||
|
|
||
|
export function fetchProductCouponList(productId) {
|
||
|
return request({
|
||
|
method: 'GET',
|
||
|
url: `/member/coupon/listByProduct/${productId}`,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
export function addMemberCoupon(couponId) {
|
||
|
return request({
|
||
|
method: 'POST',
|
||
|
url: `/member/coupon/add/${couponId}`,
|
||
|
})
|
||
|
}
|
||
|
|
||
|
export function fetchMemberCouponList(useStatus) {
|
||
|
return request({
|
||
|
method: 'GET',
|
||
|
url: '/member/coupon/list',
|
||
|
params:{useStatus:useStatus}
|
||
|
})
|
||
|
}
|