mirror of
https://gitee.com/dromara/dax-pay.git
synced 2025-09-03 11:06:46 +00:00
fix 校验订单超时时间是否正常判断错误 README更新
This commit is contained in:
@@ -183,7 +183,7 @@ public class PayAssistService {
|
||||
*/
|
||||
public void validationExpiredTime(PayParam payParam) {
|
||||
LocalDateTime expiredTime = this.getExpiredTime(payParam);
|
||||
if (Objects.nonNull(expiredTime) && DateTimeUtil.lt(LocalDateTime.now(), expiredTime)) {
|
||||
if (Objects.nonNull(expiredTime) && DateTimeUtil.lt(expiredTime,LocalDateTime.now())) {
|
||||
throw new ValidationFailedException("支付超时时间设置有误, 请检查!");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user