#355 修复为支持拉取订单评价数据接口而引入的签名bug

This commit is contained in:
Binary Wang
2017-10-17 17:40:33 +08:00
parent 447c73e43a
commit 64f0e7cf6b
11 changed files with 168 additions and 108 deletions

View File

@@ -1,6 +1,9 @@
package com.github.binarywang.wxpay.constant;
import com.google.common.collect.Lists;
import java.text.SimpleDateFormat;
import java.util.List;
/**
* <pre>
@@ -96,6 +99,7 @@ public class WxPayConstants {
public static class SignType {
public static final String HMAC_SHA256 = "HMAC-SHA256";
public static final String MD5 = "MD5";
public static final List<String> ALL_SIGN_TYPES = Lists.newArrayList(HMAC_SHA256, MD5);
}
/**