From 01e773cf27e572b8fb83538d85f31130930d93d1 Mon Sep 17 00:00:00 2001 From: yujian <yujian@123.com> Date: 星期四, 15 八月 2019 15:57:23 +0800 Subject: [PATCH] 券赠送 --- fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserSystemCouponService.java | 22 ++++++++++++++++++++-- 1 files changed, 20 insertions(+), 2 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserSystemCouponService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserSystemCouponService.java index 34652bc..f03b726 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserSystemCouponService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserSystemCouponService.java @@ -212,11 +212,29 @@ * @param source * @throws UserSystemCouponException */ - public void exchangeCoupon(Long uid, String couponType, String source, boolean give, + public void exchangeCoupon(Long uid, String couponType, String source, BigDecimal percent) throws UserSystemCouponException, Exception; - + /** + * 鍒稿垪琛� 1.6.5 + * @param start + * @param count + * @param uid + * @return + * @throws UserSystemCouponException + * @throws Exception + */ public List<UserSystemCouponVO> getCouponList(long start, int count, Long uid) throws UserSystemCouponException, Exception; + + /** + * 璧犻�佸埜鐢熸垚鍙d护 + * @param uid + * @param id + * @return + * @throws UserSystemCouponException + */ + public String giveCoupon(Long uid, Long id) throws UserSystemCouponException; + } -- Gitblit v1.8.0