File tree 3 files changed +41
-6
lines changed
3 files changed +41
-6
lines changed Original file line number Diff line number Diff line change
1
+ # see http://editorconfig.org/
2
+
3
+ root = true
4
+
5
+ [* ]
6
+ charset = utf-8
7
+ end_of_line = lf
8
+ insert_final_newline = true
9
+ trim_trailing_whitespace = true
10
+
11
+ [* .java ]
12
+ indent_size = 2
13
+ tab_width = 2
14
+ max_line_length = 100
15
+ ij_any_spaces_around_additive_operators = true
16
+ ij_any_spaces_around_assignment_operators = true
17
+ ij_any_spaces_around_bitwise_operators = true
18
+ ij_any_spaces_around_equality_operators = true
19
+ ij_any_spaces_around_lambda_arrow = true
20
+ ij_any_spaces_around_logical_operators = true
21
+ ij_any_spaces_around_multiplicative_operators = true
22
+ ij_any_spaces_around_relational_operators = true
23
+ ij_any_spaces_around_shift_operators = true
24
+ ij_continuation_indent_size = 4
25
+ ij_java_if_brace_force = always
26
+ ij_java_indent_case_from_switch = false
27
+ ij_java_space_after_colon = true
28
+ ij_java_space_before_colon = true
29
+ ij_java_ternary_operation_signs_on_next_line = true
30
+ ij_java_use_single_class_imports = true
31
+ ij_java_wrap_long_lines = true
32
+
33
+ [* .json ]
34
+ indent_style = space
35
+ indent_size = 2
Original file line number Diff line number Diff line change 1
1
[ ![ JavaDoc] ( http://img.shields.io/badge/javadoc-reference-blue.svg )] ( https://www.javadoc.io/doc/com.github.wechatpay-apiv3/wechatpay-java/latest/index.html )
2
- ![ Maven Central] ( https://img.shields.io/maven-central/v/com.github.wechatpay-apiv3/wechatpay-java?versionPrefix=0.2.3 )
2
+ ![ Maven Central] ( https://img.shields.io/maven-central/v/com.github.wechatpay-apiv3/wechatpay-java?versionPrefix=0.2.4 )
3
3
[ ![ Coverage] ( https://sonarcloud.io/api/project_badges/measure?project=wechatpay-apiv3_wechatpay-java&metric=coverage )] ( https://sonarcloud.io/summary/new_code?id=wechatpay-apiv3_wechatpay-java )
4
4
5
5
# 微信支付 APIv3 Java SDK
13
13
14
14
## 项目状态
15
15
16
- 当前版本` 0.2.3 ` 为测试版本,项目规划详如下。
16
+ 当前版本` 0.2.4 ` 为测试版本,项目规划详如下。
17
17
18
18
| 工作项 | 状态 |
19
19
| ----- | -- |
40
40
#### Gradle
41
41
在你的 build.gradle 文件中加入如下的依赖
42
42
``` groovy
43
- implementation 'com.github.wechatpay-apiv3:wechatpay-java:0.2.3 '
43
+ implementation 'com.github.wechatpay-apiv3:wechatpay-java:0.2.4 '
44
44
```
45
45
46
46
#### Maven
@@ -49,7 +49,7 @@ implementation 'com.github.wechatpay-apiv3:wechatpay-java:0.2.3'
49
49
<dependency >
50
50
<groupId >com.github.wechatpay-apiv3</groupId >
51
51
<artifactId >wechatpay-java</artifactId >
52
- <version >0.2.3 </version >
52
+ <version >0.2.4 </version >
53
53
</dependency >
54
54
```
55
55
@@ -167,7 +167,7 @@ SDK 使用的是 unchecked exception,会抛出四种自定义异常。每种
167
167
168
168
## 自动更新微信支付平台证书
169
169
170
- 在 API 请求过程中,客户端需使用微信支付平台证书,验证服务器应答的真实性和完整性。
170
+ 在 API 请求过程中,客户端需使用微信支付平台证书,验证服务器应答的真实性和完整性。
171
171
在 v0.2.3 版本,我们加入了自动更新平台证书的配置类 ` RSAAutoCertificateConfig ` 。
172
172
173
173
``` java
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ plugins {
7
7
id " jacoco"
8
8
}
9
9
10
- version " 0.2.3 "
10
+ version " 0.2.4 "
11
11
group " com.github.wechatpay-apiv3"
12
12
compileJava. options. encoding = " UTF-8"
13
13
compileTestJava. options. encoding = " UTF-8"
You can’t perform that action at this time.
0 commit comments