添加发送红包的重载方法,准备替代现有的代码

This commit is contained in:
Binary Wang
2016-09-24 23:45:32 +08:00
parent d3edb44980
commit 06c73ca6ab
5 changed files with 234 additions and 26 deletions

View File

@@ -85,8 +85,7 @@ public class WxCryptUtil {
* @param signKey 加密Key(即 商户Key)
* @return 签名字符串
*/
public static String createSign(Map<String, String> packageParams,
String signKey) {
public static String createSignForPay(Map<String, String> packageParams, String signKey) {
SortedMap<String, String> sortedMap = new TreeMap<>();
sortedMap.putAll(packageParams);