检查签名时,如果有异常打印出日志

This commit is contained in:
Binary Wang
2017-06-10 22:18:47 +08:00
parent 787a4ccaad
commit 9c0e9e44fb
3 changed files with 4 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ public class SHA1 {
if (StringUtils.isAnyEmpty(arr)) {
throw new IllegalArgumentException("非法请求参数,有部分参数为空 : " + Arrays.toString(arr));
}
Arrays.sort(arr);
StringBuilder sb = new StringBuilder();
for (int i = 0; i < arr.length; i++) {