From a1d0ae805069a392f2d488bbe84a65fa7bc8005b Mon Sep 17 00:00:00 2001 From: udun-cloud <53282294+udun-cloud@users.noreply.github.com> Date: Fri, 7 May 2021 15:05:13 +0800 Subject: [PATCH] Update README.md --- README.md | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8c6e6b2..86a1d68 100644 --- a/README.md +++ b/README.md @@ -4,20 +4,33 @@ ## 二、使用步骤 ### 2.1 获取`sdk` -pom文件中引入依赖: + +有两种方法 + +1. 通过本项目自己打包 +2. 这里有打包好的`sdk`,[直接下载](https://github.com/uduncloud/java-wallet-sdk/releases/tag/v2.0.2) + +### 2.2 使用`sdk`,参考 [udun-sdk-java-demo](https://github.com/uduncloud/udun-sdk-java-demo) +1. 将`sdk`拷贝到项目中 +2. `pom.xml`引入`sdk`及其依赖包 ``` com.udun udun-sdk-java 2.0.2 + system + ${project.basedir}/src/lib/udun-sdk-java-2.0.2.jar + + + cn.hutool + hutool-all + 5.4.0 ``` -### 2.2 使用`sdk` -1. 具体用法参考 https://github.com/uduncloud/java-wallet-sdk/blob/main/src/test/java/UdunclientDemo.java -2. 所有支持方法参考 https://github.com/uduncloud/java-wallet-sdk/blob/main/src/main/java/com/udun/sdk/client/UdunApi.java -3. 示例项目 [udun-sdk-java-demo](https://github.com/uduncloud/udun-sdk-java-demo) +3. 具体用法参考 https://github.com/uduncloud/java-wallet-sdk/blob/main/src/test/java/UdunclientDemo.java +4. 所有支持方法参考 https://github.com/uduncloud/java-wallet-sdk/blob/main/src/main/java/com/udun/sdk/client/UdunApi.java ## 三、关于回调 - [回调接口参考写法](https://github.com/uduncloud/udun-sdk-java-demo/blob/main/src/main/java/com/udun/sdk/controller/CallBackController.java)