Skip to content

Commit 3620c95

Browse files
authored
bump version to 0.1.5
1 parent c7deb46 commit 3620c95

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
## 项目状态
1010

11-
当前版本`0.1.4-SNAPSHOT`为预览版,尚没经过严格的功能和兼容性测试。请商户的专业技术人员在使用时注意系统和软件的正确性和兼容性。由此带来的风险,由商户自行承担
11+
当前版本`0.1.5`为测试版本。请商户的专业技术人员在使用时注意系统和软件的正确性和兼容性,以及带来的风险
1212

1313
## 环境要求
1414

@@ -27,7 +27,7 @@ repositories {
2727
}
2828
...
2929
dependencies {
30-
implementation 'com.github.wechatpay-apiv3:wechatpay-apache-httpclient:0.1.4-SNAPSHOT'
30+
implementation 'com.github.wechatpay-apiv3:wechatpay-apache-httpclient:0.1.5'
3131
...
3232
}
3333
```
@@ -51,7 +51,7 @@ dependencies {
5151
<dependency>
5252
<groupId>com.github.wechatpay-apiv3</groupId>
5353
<artifactId>wechatpay-apache-httpclient</artifactId>
54-
<version>0.1.4-SNAPSHOT</version>
54+
<version>0.1.5</version>
5555
</dependency>
5656
```
5757

@@ -95,9 +95,9 @@ WechatPayHttpClientBuilder builder = WechatPayHttpClientBuilder.create()
9595
.withWechatpay(wechatpayCertificates);
9696
```
9797

98-
### 自动更新证书功能(可选)
98+
## 自动更新证书功能(可选)
9999

100-
可使用 AutoUpdateCertificatesVerifier 类,该类于原 CertificatesVerifier 上增加证书的**超时自动更新**(默认与上次更新时间超过一小时后自动更新),并会在首次创建时,进行证书更新。
100+
新版本`>=0.1.5`可使用 AutoUpdateCertificatesVerifier 类,该类于原 CertificatesVerifier 上增加证书的**超时自动更新**(默认与上次更新时间超过一小时后自动更新),并会在首次创建时,进行证书更新。
101101

102102
示例代码:
103103

@@ -120,7 +120,7 @@ HttpClient httpClient = builder.build();
120120
HttpResponse response = httpClient.execute(...);
121121
```
122122

123-
#### 风险
123+
### 风险
124124

125125
因为不需要传入微信支付平台证书,AutoUpdateCertificatesVerifier 在首次更新证书时**不会验签**,也就无法确认应答身份,可能导致下载错误的证书。
126126

@@ -147,7 +147,7 @@ CloseableHttpClient httpClient = WechatPayHttpClientBuilder.create()
147147

148148
## 联系我们
149149

150-
如果你发现了**BUG**或者有任何疑问,请通过issue进行反馈。
150+
如果你发现了**BUG**或者有任何疑问、建议,请通过issue进行反馈。
151151

152152
也欢迎访问我们的[开发者社区](https://developers.weixin.qq.com/community/pay)
153153

0 commit comments

Comments
 (0)