fix 校验订单超时时间是否正常判断错误 README更新

This commit is contained in:
DaxPay
2024-10-14 09:20:18 +08:00
parent a565424d02
commit baf69d9eb0
2 changed files with 5 additions and 3 deletions

View File

@@ -82,13 +82,15 @@
</dependency>
```
### SDK调用示例
> 待补充
> 待补充j
## 🍎 系统截图
### PC收银台演示(旧版)
![](https://cdn.jsdmirror.com/gh/xxm1995/picx-images-hosting@master/daxpay/微信截图_20240513192801.2ruycydkl6.webp)
### 移动端收银演示
![](https://cdn.jsdmirror.com/gh/xxm1995/picx-images-hosting@master/daxpay/微信图片_20241012172346.41y1kcemrf.webp)
<img height="900" src="https://cdn.jsdmirror.com/gh/xxm1995/picx-images-hosting@master/daxpay/微信图片_20241012172346.41y1kcemrf.webp" width="390"/>
### 支付通道配置
![](https://cdn.jsdmirror.com/gh/xxm1995/picx-images-hosting@master/daxpay/微信截图_20241012170024.5tr0f8xzn9.webp)
### 开发联调功能

View File

@@ -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("支付超时时间设置有误, 请检查!");
}
}