11<p align =" center " >
22 <img src =" https://gitee.com/fuzui/aggregatelogistics/badge/star.svg?theme=dark " alt =" Build Status " >
33 <img src =" https://img.shields.io/github/stars/fuzui/aggregatelogistics.svg?style=social " alt =" Build Status " >
4- <img src =" https://img.shields.io/badge/aggregatelogistics-0.0.10 -brightgreen " alt =" Build Status " >
4+ <img src =" https://img.shields.io/badge/aggregatelogistics-0.0.12 -brightgreen " alt =" Build Status " >
55</p >
66
77
88# 聚合物流(aggregatelogistics)
99
1010它是一个聚合多家物流公司开放平台的** Java工具类库** ,为解决公司电商项目集成物流而生。
1111
12- 当前已聚合顺丰、中通、申通、圆通、百世、极兔。
12+ 当前已聚合顺丰、中通、申通、圆通、百世、极兔、京东 。
1313
1414> 提示:多数快递公司都需要企业认证,即营业执照(公司或个体工商户)。所以个人用户难以配置并使用该类库。
1515
1616# 功能
1717
1818* 运单轨迹查询:
1919
20- 当前支持顺丰、中通、申通、圆通、百世、极兔、韵达;
20+ 当前支持顺丰、中通、申通、圆通、百世、极兔、韵达、京东 ;
2121
2222* 运费及实效查询:
2323
3737 <dependency >
3838 <groupId >net.kdks</groupId >
3939 <artifactId >aggregatelogistics</artifactId >
40- <version >0.0.10 </version >
40+ <version >0.0.12 </version >
4141 </dependency >
4242 ```
4343
4444* Gradle
4545
4646 ```
47- compile 'net.kdks:aggregatelogistics:0.0.10 '
47+ compile 'net.kdks:aggregatelogistics:0.0.12 '
4848 ```
4949
5050## 2. 调用
@@ -65,6 +65,8 @@ ExpressConfig config=ExpressConfig.builder()
6565 .jituConfig(" apiAccount" , " privateKey" , " uuid" , " customerCode" , " customerPwd" , 1 )
6666 // 韵达配置
6767 .yundaConfig(" appKey" , " appSecret" , 1 )
68+ // 韵达配置
69+ .jingdongConfig(" appKey" , " appSecret" , " accessToken" , " customerCode" , 1 )
6870 .build();
6971ExpressHandlers expressHandlers= new ExpressHandlers (config);
7072// 快递公司编号,具体查看net.kdks.enums.ExpressCompanyCodeEnum
0 commit comments