| | |
| | | |
| | | @ApiModelProperty(value = "用户优惠券领取记录id;仅购买门票且现金支付时可传", required = false) |
| | | Long couponId; |
| | | |
| | | @ApiModelProperty(value = "用户优惠券领取记录id(兼容旧参数,建议改用couponId)", required = false) |
| | | Long chooseCouponId; |
| | | } |
| | |
| | | @Override |
| | | @Transactional |
| | | public synchronized ResultUtil productRedemptionOperation(Integer userIdFormRedis, GoodsExchangeVo exchangeType) { |
| | | // 兼容前端历史参数 chooseCouponId,内部统一使用 couponId。 |
| | | if (exchangeType.getCouponId() == null && exchangeType.getChooseCouponId() != null) { |
| | | exchangeType.setCouponId(exchangeType.getChooseCouponId()); |
| | | } |
| | | ReturnModel returnModel = new ReturnModel(); |
| | | Long returnId = null; |
| | | //如果是兑换优惠卷 |