From 879f07674360b07f722b4ef51134e30d7889d823 Mon Sep 17 00:00:00 2001 From: lqyan Date: Tue, 20 Feb 2024 10:44:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8=E6=96=87=E6=A1=A3=E5=AE=8C?= =?UTF-8?q?=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a4aa0f6..176a949 100644 --- a/README.md +++ b/README.md @@ -77,12 +77,22 @@ mvn install:install-file -Dfile=D:/jar/jhinno-openapi-java-sdk-1.0.0-source.jar jhinno-openapi-java-sdk 1.0.0 system - D:/ + D:/jar/jhinno-openapi-java-sdk-1.0.0.jar ``` ## 使用 +在`com.jhinno.sdk.openapi.api`包下面对应`app`、`data`、`file`、`job`、`organization`这几个子包,分别代表景行`Appform` +的应用、作业数据、文件、作业操作、组织等接口资源。开发者只需要使用接口的执行器(`JHxxxApiExecution` +)即可使用资源,如:`JHAppApiExecution` + +具体的使用步骤如下: + +1. 创建一个`JHApiClient`客户端,此为HTTP连接池,为确保资源浪费,需保证全局唯一,每次创建执行器都使用个客户端。 +2. 创建接口的执行器,即:`JHxxxApiExecution`,如:`JHAppApiExecution`。 +3. 调用接口执行器的方法,使用景行接口资源,如下代码片段。 + ```java public class DemoUserSDK { @@ -127,4 +137,9 @@ mvn clean install -DskipTests ## 作者 -- [yanlongqi](https://github.com/yanlongqi) \ No newline at end of file +- [yanlongqi](https://github.com/yanlongqi) + +## 支持 + +- 电话(同微信):18794888087 +- 邮箱:lqyan@jhinno.com \ No newline at end of file