Skip to content

Commit 7ec1e6c

Browse files
committed
获取支付参数
1 parent f44c7bb commit 7ec1e6c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ private static void wxJsApi(MbdPayClient client) {
114114
if (result.isSuccess()) {
115115
System.out.println("查询成功");
116116
System.out.println(result);
117+
// 获取支付参数
118+
System.out.println(result.getPayParams());
117119
} else {
118120
System.out.println("查询失败");
119121
System.out.println(result.getError());

src/test/java/com/github/actar233/mbdpay/ClientTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ private static void wxJsApi(MbdPayClient client) {
7474
if (result.isSuccess()) {
7575
System.out.println("查询成功");
7676
System.out.println(result);
77+
// 获取支付参数
78+
System.out.println(result.getPayParams());
7779
} else {
7880
System.out.println("查询失败");
7981
System.out.println(result.getError());

0 commit comments

Comments
 (0)