Authored by LUOXC

Merge branch 'dev-wechat' into test6.9.14

@@ -185,9 +185,9 @@ public abstract class AbstractWeixinPayService extends AbstractPayService { @@ -185,9 +185,9 @@ public abstract class AbstractWeixinPayService extends AbstractPayService {
185 } 185 }
186 186
187 protected Map<String, String> withHmacSha256Sign(Map<String, String> signParams){ 187 protected Map<String, String> withHmacSha256Sign(Map<String, String> signParams){
  188 + signParams.put(WeixinPayConfig.ApiConstants.SIGN_TYPE, "HMAC-SHA256");
188 String sign = hmacSha256(signParams); 189 String sign = hmacSha256(signParams);
189 signParams.put(WeixinPayConfig.ApiConstants.SIGN, sign); 190 signParams.put(WeixinPayConfig.ApiConstants.SIGN, sign);
190 - signParams.put(WeixinPayConfig.ApiConstants.SIGN_TYPE, "HMAC-SHA256");  
191 return signParams; 191 return signParams;
192 } 192 }
193 193