refactor: V2 签名优化

This commit is contained in:
felord
2021-08-18 16:37:12 +08:00
parent 9eb58860f1
commit 7459039cfd

View File

@@ -178,7 +178,7 @@ public abstract class BaseModel {
String query = map.entrySet() String query = map.entrySet()
.stream() .stream()
.map(entry -> entry.getKey().concat(entry.getValue())) .map(entry -> entry.getKey().concat("=").concat(entry.getValue()))
.collect(Collectors.joining("&")); .collect(Collectors.joining("&"));
return query.concat("&key=").concat(this.appSecret); return query.concat("&key=").concat(this.appSecret);
} }