Skip to content

Commit

Permalink
Update api.md (#211)
Browse files Browse the repository at this point in the history
1.2.1版本sdk中相关方法、参数列表与文档描述不一致,使用时发现报错,根据sdk修改正常
1.2.1版本sdk中WeCrossRPC类无getTransactionIDs方法(未做修改)
  • Loading branch information
qq869588315 authored Mar 23, 2023
1 parent 6cf470b commit 7d8e0dc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/dev/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -412,8 +412,8 @@ SDK API分为两大类型,一种是对跨链路由RPC接口调用的封装,
```java
XAResponse xaResponse =
weCrossRPC
.commitTransaction(
"0001", new String[]{"payment.bcos", "payment.fabric"},)
.commitXATransaction(
"0001", new String[]{"payment.bcos", "payment.fabric"})
.send();
```

Expand All @@ -439,8 +439,8 @@ SDK API分为两大类型,一种是对跨链路由RPC接口调用的封装,
```java
XAResponse xaResponse =
weCrossRPC
.rollbackTransaction(
"0001", new String[]{"payment.bcos", "payment.fabric"},)
.rollbackXATransaction(
"0001", new String[]{"payment.bcos", "payment.fabric"})
.send();
```

Expand All @@ -466,8 +466,8 @@ SDK API分为两大类型,一种是对跨链路由RPC接口调用的封装,
```java
XATransactionResponse xaTransactionResponse =
weCrossRPC
.getTransactionInfo(
"0001", new String[]{"payment.bcos", "payment.fabric"},)
.getXATransaction(
"0001", new String[]{"payment.bcos", "payment.fabric"})
.send();
```

Expand Down

0 comments on commit 7d8e0dc

Please sign in to comment.