mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-04-05 17:38:05 +08:00
签名方法里忽略几个自定义key,以免对签名造成干扰
This commit is contained in:
parent
73017552eb
commit
96d385664f
@ -75,7 +75,9 @@ public class SignUtils {
|
||||
if (isIgnoreSignType && "sign_type".equals(key)) {
|
||||
shouldSign = false;
|
||||
} else if (StringUtils.isNotEmpty(value)
|
||||
&& !Lists.newArrayList("sign", "key").contains(key)) {
|
||||
&& !Lists.newArrayList(
|
||||
"sign", "key", "xmlString", "xmlDoc", "couponList").contains(key)
|
||||
) {
|
||||
shouldSign = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user