mirror of
https://github.com/dromara/payment-spring-boot.git
synced 2026-03-13 21:33:41 +08:00
refactor: V2 签名优化
This commit is contained in:
@@ -178,7 +178,7 @@ public abstract class BaseModel {
|
||||
|
||||
String query = map.entrySet()
|
||||
.stream()
|
||||
.map(entry -> entry.getKey().concat(entry.getValue()))
|
||||
.map(entry -> entry.getKey().concat("=").concat(entry.getValue()))
|
||||
.collect(Collectors.joining("&"));
|
||||
return query.concat("&key=").concat(this.appSecret);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user