From 7c4a92a88c7d146123e9b922c06de5886ce9ca65 Mon Sep 17 00:00:00 2001 From: tanghc Date: Mon, 30 Sep 2019 10:08:57 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E9=85=8Deureka?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gitee/sop/gatewaycommon/validate/taobao/TaobaoSigner.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/validate/taobao/TaobaoSigner.java b/sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/validate/taobao/TaobaoSigner.java index 57876fcd..7304fda2 100644 --- a/sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/validate/taobao/TaobaoSigner.java +++ b/sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/validate/taobao/TaobaoSigner.java @@ -49,9 +49,7 @@ public class TaobaoSigner extends AbstractSigner { StringBuilder paramNameValue = new StringBuilder(); for (String paramName : paramNames) { String val = SignConfig.wrapVal(param.get(paramName)); - if (StringUtils.isNotBlank(val)) { - paramNameValue.append(paramName).append(val); - } + paramNameValue.append(paramName).append(val); } // 第三步:使用MD5/HMAC加密