Просмотр исходного кода

Merge remote-tracking branch 'origin/develop' into develop

release_toaliyun_real
luozukai 7 лет назад
Родитель
Сommit
401b0f0d34
1 измененных файлов: 2 добавлений и 0 удалений
  1. +2
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java

+ 2
- 0
mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java Просмотреть файл

@@ -299,10 +299,12 @@ public class WxOrderServiceImpl implements WxOrderService {
coupon = wxCouponMapper.selectByPrimaryKey(couponId);
} catch (Exception e) {
logger.error("券未找到, e:" + e.getMessage());
redisLock.unlock(couponIdStr, timeStr);
throw new MallinkException(ErrorCode.COUPON_IS_EMPTY);
}
if (coupon == null) {
logger.error("券未找到, " + couponIdStr);
redisLock.unlock(couponIdStr, timeStr);
throw new MallinkException(ErrorCode.COUPON_IS_EMPTY);
}



Загрузка…
Отмена
Сохранить