瀏覽代碼

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

release_toaliyun_real
luozukai 7 年之前
父節點
當前提交
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);
}



Loading…
取消
儲存