|
|
|
@@ -170,7 +170,7 @@ public class WxCouponOrderController extends BaseController { |
|
|
|
logger.info("couponOrderController.detail。decode:[coid]" + couponOrderId+",[time]"+expiredtimeStr); |
|
|
|
Date expiredtime = DateUtils.string2Date(expiredtimeStr).getTime(); |
|
|
|
if (expiredtime.before(new Date())) { |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(),"码已失效,请重新刷新"); |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(),"码已失效,请更新二维码后重试"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@@ -297,7 +297,7 @@ public class WxCouponOrderController extends BaseController { |
|
|
|
String expiredtimeStr = decodeids[1]; |
|
|
|
Date expiredtime = DateUtils.string2Date(expiredtimeStr).getTime(); |
|
|
|
if (expiredtime.before(new Date())) { |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(),"码已失效,请重新刷新"); |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(),"码已失效,请更新二维码后重试"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|