Commit 4e21af2f by huluobin

异常

parent e0db95f7
......@@ -77,7 +77,11 @@ public class ChargeOrderServiceImpl extends ServiceImpl<ChargeOrderMapper, Charg
.stream().filter(config -> config.getChargeAmount() <= result.getTotalFee())
.max(Comparator.comparing(DiscountConfig::getChargeAmount)).orElseThrow(NullPointerException::new);
couponService.sendCoupon(discountConfig.getCouponId(), customer.getId());
try {
couponService.sendCoupon(discountConfig.getCouponId(), customer.getId());
} catch (RRException e) {
log.error(e.getMessage());
}
//首次充值
......
......@@ -12,7 +12,7 @@ import java.time.LocalDateTime;
/**
* <p>
*
*
* </p>
*
* @author robbendev
......@@ -21,7 +21,7 @@ import java.time.LocalDateTime;
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OrderIncomeFlow对象", description="")
@ApiModel(value = "OrderIncomeFlow对象", description = "")
public class OrderIncomeFlow implements Serializable {
private static final long serialVersionUID = 1L;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment