Skip to content

Conversation

@lianup
Copy link
Contributor

@lianup lianup commented May 12, 2022

No description provided.

@lianup lianup force-pushed the master branch 2 times, most recently from d0cf0aa to caaf852 Compare May 12, 2022 09:30
README.md Outdated

// ...
Credentials credentials = new WechatPay2Credentials(merchantId, new Signer() {
Credentials credentials = new WechatPay2Credentials(mchId, new Signer() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里应该是用 merchantId

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已改

README.md Outdated
+ `merchantSerialNumber`商户API证书的证书序列号。
+ `merchantPrivateKey`商户API私钥,如何加载商户API私钥请看[常见问题](#如何加载商户私钥)
+ `wechatpayCertificates`微信支付平台证书。你也可以使用后面章节提到的“[定时更新平台证书功能](#定时更新平台证书功能)”,而不需要关心平台证书的来龙去脉。
+ `wechatPayCertList`微信支付平台证书列表。你也可以使用后面章节提到的“[定时更新平台证书功能](#定时更新平台证书功能)”,而不需要关心平台证书的来龙去脉。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wechatPayCertificateList 避免缩写吧

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已改

README.md Outdated

// ...
Credentials credentials = new WechatPay2Credentials(merchantId, new Signer() {
Credentials credentials = new WechatPay2Credentials(mchId, new Signer() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mchId → merchantId

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已改

README.md Outdated
WechatPayHttpClientBuilder builder = WechatPayHttpClientBuilder.create()
.withCredentials(credentials)
.withWechatPay(wechatpayCertificates);
.withWechatPay(wechatPayCertList);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wechatPayCertList → wechatpayCertificateList

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已改,就用原来的吧,一样的意思

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

这些垃圾代码的变量命名能不能统一下,净他妈误导人

3 participants