Merge remote-tracking branch 'origin/1.0.11.SNAPSHOT' into 1.0.11.SNAPSHOT

# Conflicts:
#	payment-spring-boot-autoconfigure/src/main/java/cn/felord/payment/wechat/v3/SignatureProvider.java
This commit is contained in:
felord.cn
2021-05-16 23:45:27 +08:00
2 changed files with 3 additions and 3 deletions

View File

@@ -222,8 +222,8 @@ public class SignatureProvider {
}
ArrayNode certificates = bodyObjectNode.withArray("data");
if (certificates.isArray() && certificates.size() > 0) {
CERTIFICATE_MAP.clear();
final CertificateFactory certificateFactory = CertificateFactory.getInstance("X509", BC_PROVIDER);
CERTIFICATE_MAP.remove(tenantId);
final CertificateFactory certificateFactory = CertificateFactory.getInstance("X509",BC_PROVIDER);
certificates.forEach(objectNode -> {
JsonNode encryptCertificate = objectNode.get("encrypt_certificate");
String associatedData = encryptCertificate.get("associated_data").asText();

View File

@@ -78,7 +78,7 @@ public class CompleteServiceOrderParams {
* false不分账默认false
* true分账。
*/
private Boolean profitSharing = Boolean.TRUE;
private Boolean profitSharing = Boolean.FALSE;
/**
* 订单优惠标记,选填
* <p>