Skip to content

Commit d87494c

Browse files
authored
Update README with API and error handling sections
1 parent 11d5335 commit d87494c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
</dependency>
3939
</dependencies>
4040
```
41+
4142
## 2. Api
4243
创建api对象
4344
> 可根据自身情况设置client、host和loggerLevel
@@ -91,6 +92,7 @@
9192
* [ReportApi](https://github.com/jpush/jiguang-sdk-java/blob/main/example-for-spring/src/test/java/cn/jiguang/app/api/ReportApiTest.java)
9293
* [AdminApi](https://github.com/jpush/jiguang-sdk-java/blob/main/example-for-spring/src/test/java/cn/jiguang/app/api/AdminApiTest.java)
9394
* [GroupPushApi](https://github.com/jpush/jiguang-sdk-java/blob/main/example-for-spring/src/test/java/cn/jiguang/app/api/GroupPushApiTest.java)
95+
9496
## 3. 推送失败
9597
推送失败会抛出异常,可对下面的类异常捕获后进行业务处理
9698
```java
@@ -100,6 +102,7 @@ cn.jiguang.sdk.exception.ApiErrorException
100102
> 打印类为feign.Logger,从---> POST,到<--- END HTTP,参考下图
101103
* 如需技术支持,请提供使用环境、复现步骤、示例代码、日志信息
102104
<img width="1184" height="658" alt="image" src="https://github.com/user-attachments/assets/33d943b8-f0df-4c11-8bde-6c17cf93dcb9" />
105+
103106
## 4. 第三方库引用说明
104107
```
105108
<properties>

0 commit comments

Comments
 (0)