Skip to content

Commit

Permalink
优化注释
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanwu committed Apr 8, 2024
1 parent 56bbf08 commit 75c00be
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ protected AbstractRSAConfig(
private final String merchantSerialNumber;
/** 微信支付平台证书Provider */
private final CertificateProvider certificateProvider;
/** 微信支付凭证公钥 */
/** 微信支付平台公钥 */
private final PublicKey publicKey;
/** 微信支付凭证公钥Id */
/** 微信支付平台公钥Id */
private final String publicKeyId;

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import java.nio.charset.StandardCharsets;
import java.security.PublicKey;

/** 使用平台公钥的RSA配置类。 每次构造都要求传入平台公钥以及平台公钥id,如果是使用平台证书建议用RSAAutoCertificateConfig类 */
/** 使用微信支付平台公钥的RSA配置类。 每次构造都要求传入平台公钥以及平台公钥id,如果使用平台证书建议用RSAAutoCertificateConfig类 */
public final class RSAPublicKeyConfig extends AbstractRSAConfig implements NotificationConfig {

private final PublicKey publicKey;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ static Stream<Builder> BuilderProvider() {
.publicKeyId(WECHAT_PAY_CERTIFICATE_SERIAL_NUMBER)
.apiV3Key(API_V3_KEY),

// with http client builder
// with publickey
new Builder()
.merchantId("1123456")
.privateKeyFromPath(MERCHANT_PRIVATE_KEY_PATH)
Expand Down

0 comments on commit 75c00be

Please sign in to comment.