mirror of
https://gitee.com/dromara/dax-pay.git
synced 2025-09-09 05:49:04 +00:00
ref 校验注解改名, 请求参数增加随机数, 增加请求有效时长参数和校验
This commit is contained in:
@@ -19,7 +19,7 @@ public class LocalDateTimeUtil extends cn.hutool.core.date.LocalDateTimeUtil {
|
||||
/**
|
||||
* 是否在指定的时间范围内
|
||||
*/
|
||||
public boolean between(LocalDateTime now, LocalDateTime start, LocalDateTime end) {
|
||||
public boolean inBetween(LocalDateTime now, LocalDateTime start, LocalDateTime end) {
|
||||
return ge(now, start) && le(now, end);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user