|
|
|
@@ -173,13 +173,15 @@ public class WxThirdPartyOrdersServiceImpl implements WxThirdPartyOrdersService |
|
|
|
record.setIncreasedPoints(creditNum); |
|
|
|
record.setPointsUpdateTime(creditHistory.getCreateDate()); |
|
|
|
this.updatePoints(record); |
|
|
|
} |
|
|
|
|
|
|
|
try { |
|
|
|
wxCouponSendService.sendCouponToUser(EnumCouponSendSendType.B_MICROPAY, record,EnumPayWay.PAY_WAY_NOT_UNPAY_B_MA); |
|
|
|
} catch (Exception e) { |
|
|
|
logger.error("B端刷卡支付发券: " + e.getMessage()); |
|
|
|
try { |
|
|
|
wxCouponSendService.sendCouponToUser(EnumCouponSendSendType.B_MICROPAY, record,EnumPayWay.PAY_WAY_NOT_UNPAY_B_MA); |
|
|
|
} catch (Exception e) { |
|
|
|
logger.error("B端刷卡支付发券: " + e.getMessage()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
redisLock.unlock(lockKey, timeStr); |
|
|
|
}else { |
|
|
|
logger.debug("CacheAspect 读库等待中, key:{}: " + lockKey); |
|
|
|
|