diff --git a/src/main/java/au/com/royalpay/payment/manage/apps/core/impls/AppPermissionSupportImpl.java b/src/main/java/au/com/royalpay/payment/manage/apps/core/impls/AppPermissionSupportImpl.java index e9263e407..3fceada66 100644 --- a/src/main/java/au/com/royalpay/payment/manage/apps/core/impls/AppPermissionSupportImpl.java +++ b/src/main/java/au/com/royalpay/payment/manage/apps/core/impls/AppPermissionSupportImpl.java @@ -45,8 +45,8 @@ public class AppPermissionSupportImpl implements AppPermissionSupport { logger.debug("sso-str before hash:" + str); String hash = DigestUtils.sha256Hex(str).toLowerCase(); if (!StringUtils.equals(hash, sign)) { - logger.error("[{}]请求的签名有误,使用节点 [{}] 签名", appid, NODES_IP_ADDRESSS.toString()); for (String nodeIp : NODES_IP_ADDRESSS) { + logger.error("[{}]请求的签名有误,使用节点 [{}] 签名", appid, nodeIp); str = String.format(signTemplate, appid, auth, timestamp, requestUri, nodeIp); logger.debug("NodeIp check sso-str before hash:" + str); hash = DigestUtils.sha256Hex(str).toLowerCase();