mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-25 00:15:06 +08:00
【功能新增】商城: 满减送活动下单后,赠送优惠劵
This commit is contained in:
@ -3,9 +3,10 @@ package cn.iocoder.yudao.module.promotion.api.coupon;
|
||||
import cn.iocoder.yudao.module.promotion.api.coupon.dto.CouponRespDTO;
|
||||
import cn.iocoder.yudao.module.promotion.api.coupon.dto.CouponUseReqDTO;
|
||||
import cn.iocoder.yudao.module.promotion.api.coupon.dto.CouponValidReqDTO;
|
||||
|
||||
import jakarta.validation.Valid;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 优惠劵 API 接口
|
||||
*
|
||||
@ -35,4 +36,13 @@ public interface CouponApi {
|
||||
*/
|
||||
CouponRespDTO validateCoupon(@Valid CouponValidReqDTO validReqDTO);
|
||||
|
||||
/**
|
||||
* 【管理员】给指定用户批量发送优惠券
|
||||
*
|
||||
* @param templateIds 优惠劵编号的数组
|
||||
* @param counts 优惠券数量的数组
|
||||
* @param userId 用户编号
|
||||
*/
|
||||
void takeCouponsByAdmin(List<Long> templateIds, List<Integer> counts, Long userId);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user