mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-09-20 02:29:27 +08:00
去除 nonce 非空校验
This commit is contained in:
@@ -317,7 +317,7 @@ public class SaSignTemplate {
|
|||||||
|
|
||||||
// 三个参数必须全部非空
|
// 三个参数必须全部非空
|
||||||
SaSignException.throwByNull(timestampValue, "缺少 timestamp 字段");
|
SaSignException.throwByNull(timestampValue, "缺少 timestamp 字段");
|
||||||
SaSignException.throwByNull(nonceValue, "缺少 nonce 字段");
|
// SaSignException.throwByNull(nonceValue, "缺少 nonce 字段"); // 配置isCheckNonce=false时,可以不传 nonce
|
||||||
SaSignException.throwByNull(signValue, "缺少 sign 字段");
|
SaSignException.throwByNull(signValue, "缺少 sign 字段");
|
||||||
|
|
||||||
// 依次校验三个参数
|
// 依次校验三个参数
|
||||||
|
Reference in New Issue
Block a user