Authored by tanling

发放优惠券

... ... @@ -104,7 +104,7 @@ public class ErpGWCouponController {
@RequestParam(value = "validityDay" , required = false) Integer validityDay) {
logger.info("send coupons inner enter, uid: {}, couponTokens:{}", uid, couponTokens);
List<CouponSendBo> couponSendBoList = couponService.batchSendCoupon(uid, couponTokens, repeatable, validityDay);
List<CouponSendBo> couponSendBoList = couponService.innerBatchSendValiPeriod(uid, couponTokens, repeatable, validityDay);
// 只要有一个领取成功,则算成功
if (couponSendBoList.stream().filter(CouponSendBo::isSuccess).findAny().isPresent()){
... ...