diff --git a/pjcloud-thirdparty/pjcloud-thirdparty-biz/src/main/java/com/bsd/pjcloud/thirdparty/service/impl/door/ThirdDoorApiServiceImpl.java b/pjcloud-thirdparty/pjcloud-thirdparty-biz/src/main/java/com/bsd/pjcloud/thirdparty/service/impl/door/ThirdDoorApiServiceImpl.java index 067607181..19da90fe1 100644 --- a/pjcloud-thirdparty/pjcloud-thirdparty-biz/src/main/java/com/bsd/pjcloud/thirdparty/service/impl/door/ThirdDoorApiServiceImpl.java +++ b/pjcloud-thirdparty/pjcloud-thirdparty-biz/src/main/java/com/bsd/pjcloud/thirdparty/service/impl/door/ThirdDoorApiServiceImpl.java @@ -388,12 +388,12 @@ public class ThirdDoorApiServiceImpl implements ThirdDoorApiService { return false; } String appid = headers.get("appId"); - String noncestr = headers.get("noncestr"); + String noncestr = headers.get("nonceStr"); String timestamp = headers.get("timestamp"); String sign = headers.get("sign"); if (ObjectUtil.notEqual(doorConfig.getAppId(), appid)) { - log.error("|{}|apiParseSign 接口解签错误appId错误dto|{}|headers|{}|appid|{}|noncestr|{}|timestamp|{}|sign|{}|", TAG, json, JSONUtil.toJsonStr(headers), appid, noncestr, timestamp, sign); + log.error("|{}|apiParseSign 接口解签错误appId错误dto|{}|headers|{}|appid|{}|nonceStr|{}|timestamp|{}|sign|{}|", TAG, json, JSONUtil.toJsonStr(headers), appid, noncestr, timestamp, sign); return false; } // 计算正确的sign @@ -405,7 +405,7 @@ public class ThirdDoorApiServiceImpl implements ThirdDoorApiService { successSign += json; String successSignMd5 = DigestUtils.md5Hex(successSign); if (ObjectUtil.notEqual(successSignMd5.toLowerCase(), sign.toLowerCase())) { - log.error("|{}|apiParseSign 接口解签错误sign错误dto|{}|headers|{}|appid|{}|noncestr|{}|timestamp|{}|sign|{}|", TAG, json, JSONUtil.toJsonStr(headers), appid, noncestr, timestamp, sign); + log.error("|{}|apiParseSign 接口解签错误sign错误dto|{}|headers|{}|appid|{}|nonceStr|{}|timestamp|{}|sign|{}|", TAG, json, JSONUtil.toJsonStr(headers), appid, noncestr, timestamp, sign); return false; } return true;