mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-15 19:35:07 +08:00
mall: 完善后台发送优惠券
This commit is contained in:
@ -16,3 +16,11 @@ export const getCouponPage = async (params: PageParam) => {
|
||||
params: params
|
||||
})
|
||||
}
|
||||
|
||||
// 发送优惠券
|
||||
export const sendCoupon = async (data: any) => {
|
||||
return request.post({
|
||||
url: '/promotion/coupon/send',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
@ -73,6 +73,14 @@ export function getCouponTemplatePage(params: PageParam) {
|
||||
})
|
||||
}
|
||||
|
||||
// 获得可用于领取的优惠劵模板分页
|
||||
export function getCanTakeCouponTemplatePage(params: PageParam) {
|
||||
return request.get({
|
||||
url: '/promotion/coupon-template/can-take-page',
|
||||
params: params
|
||||
})
|
||||
}
|
||||
|
||||
// 导出优惠劵模板 Excel
|
||||
export function exportCouponTemplateExcel(params: PageParam) {
|
||||
return request.get({
|
||||
|
Reference in New Issue
Block a user