yujian
2019-10-09 481da0ca0ac931f6ff35dbb8d70d4450d4252c17
fanli/src/main/java/com/yeshi/fanli/service/impl/user/TokenRecordServiceImpl.java
@@ -343,7 +343,7 @@
         UserSystemCoupon userSystemCoupon= null;
         try {
            userSystemCoupon = userSystemCouponService.insertUserCoupon(uid, CouponTypeEnum.freeCoupon.name(),
                  UserSystemCoupon.SOURCE_GIVE, null);
                  UserSystemCoupon.SOURCE_GIVE, null,true);
         } catch (Exception e) {
            LogHelper.errorDetailInfo(e);
            throw new TokenRecordException(1, "领取失败");
@@ -437,7 +437,7 @@
         UserSystemCoupon userSystemCoupon= null;
         try {
            userSystemCoupon = userSystemCouponService.insertUserCoupon(uid, CouponTypeEnum.rebatePercentCoupon.name(),
                  UserSystemCoupon.SOURCE_GIVE, systemCoupon.getPercent());
                  UserSystemCoupon.SOURCE_GIVE, systemCoupon.getPercent(),true);
         } catch (Exception e) {
            LogHelper.errorDetailInfo(e);
            throw new TokenRecordException(1, "领取失败");