From 2aee99f812108560349dc3e8324d201cc1e8a515 Mon Sep 17 00:00:00 2001 From: xhxu Date: Thu, 29 Jun 2023 23:21:48 +0800 Subject: [PATCH] //yuyue --- .../service/impl/WxCouponOrderReservationServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxCouponOrderReservationServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxCouponOrderReservationServiceImpl.java index d25a4c30c..1b619d298 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxCouponOrderReservationServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxCouponOrderReservationServiceImpl.java @@ -80,10 +80,10 @@ public class WxCouponOrderReservationServiceImpl implements WxCouponOrderReserva } if(record.getStartDate() != null && wxCoupon.getValidStartDate() != null && record.getStartDate().before(wxCoupon.getValidStartDate())){ - return new ResultData(ErrorCode.COUPON_CHANNEL_IS_NOT_STARTED.getCode(),"当前时间无法预约"); + return new ResultData(ErrorCode.COUPON_CHANNEL_IS_NOT_STARTED.getCode(),"预约时间不在有效期内"); } if(record.getEndDate() != null && record.getEndDate().after(couponOrder.getExpiredTime())){ - return new ResultData(ErrorCode.COUPON_CHANNEL_IS_NOT_STARTED.getCode(),"当前时间无法预约"); + return new ResultData(ErrorCode.COUPON_CHANNEL_IS_NOT_STARTED.getCode(),"预约时间不在有效期内"); } record.setCouponTitle(wxCoupon.getTitle()); }