mirror of
https://github.com/dromara/payment-spring-boot.git
synced 2026-03-14 05:43:46 +08:00
refactor: V2 签名优化
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user