🎨 #1441 修复刷脸支付获取AuthInfo接口字段顺序问题

This commit is contained in:
Binary Wang 2020-03-22 14:53:26 +08:00
parent ffb25e9555
commit 71d6d7fdaa
2 changed files with 4 additions and 6 deletions

View File

@ -221,8 +221,6 @@ public abstract class BaseWxPayRequest implements Serializable {
/**
* 使用快速算法组装xml
*
* @return
*/
private String toFastXml() {
try {
@ -297,7 +295,7 @@ public abstract class BaseWxPayRequest implements Serializable {
* 注意不含sign属性
*/
public Map<String, String> getSignParams() {
Map<String, String> map = new HashMap<>();
Map<String, String> map = new HashMap<>(8);
map.put("appid", appid);
map.put("mch_id", mchId);
map.put("sub_appid", subAppId);

View File

@ -127,13 +127,13 @@ public class WxPayFaceAuthInfoRequest extends BaseWxPayRequest {
@Override
protected void storeMap(Map<String, String> map) {
map.put("now", now);
map.put("version", version);
map.put("rawdata", rawdata);
map.put("store_id", storeId);
map.put("store_name", storeName);
map.put("device_id", deviceId);
map.put("attach", attach);
map.put("rawdata", rawdata);
map.put("now", now);
map.put("version", version);
}
}