File tree Expand file tree Collapse file tree
main/java/com/kuaidi100/sdk/request Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ java-demo使用和测试可参考[java-demo-test](https://github.com/kuaidi100-a
2828
2929``` css
3030dependencies {
31- implementation 'com .github .kuaidi 100-api :sdk:1.0 .19 '
31+ implementation 'com .github .kuaidi 100-api :sdk:1.0 .20 '
3232}
3333```
3434
@@ -38,7 +38,7 @@ dependencies {
3838 <dependency >
3939 <groupId >com.github.kuaidi100-api</groupId >
4040 <artifactId >sdk</artifactId >
41- <version >1.0.19 </version >
41+ <version >1.0.20 </version >
4242 </dependency >
4343```
4444
Original file line number Diff line number Diff line change 66
77 <groupId >com.github.kuaidi100-api</groupId >
88 <artifactId >sdk</artifactId >
9- <version >1.0.19 </version >
9+ <version >1.0.20 </version >
1010
1111 <name >api</name >
1212 <url >https://github.com/kuaidi100-api/java-demo</url >
Original file line number Diff line number Diff line change @@ -26,4 +26,8 @@ public class PriceQueryParam extends BaseRequest {
2626 * 重量,默认单位为kg,参数无需带单位,如1.0
2727 */
2828 private double weight ;
29+ /**
30+ * 月结账户编号
31+ */
32+ private String monthlyCard ;
2933}
Original file line number Diff line number Diff line change @@ -915,8 +915,11 @@ public void testPriceQuery() throws Exception {
915915 PriceQueryParam priceQueryParam = new PriceQueryParam ();
916916 priceQueryParam .setSendAddr ("深圳南山区" );
917917 priceQueryParam .setRecAddr ("北京海淀区" );
918- priceQueryParam .setKuaidicom ("jd" );
919- priceQueryParam .setWeight (1.0 );
918+ priceQueryParam .setKuaidicom ("kuayue" );
919+ priceQueryParam .setWeight (30.0 );
920+ // TODO 请替换为真实的月卡号,非必传,跨越必传
921+ priceQueryParam .setMonthlyCard ("123456789012" );
922+
920923 String param = new Gson ().toJson (priceQueryParam );
921924 String t = System .currentTimeMillis () + "" ;
922925 printReq .setKey (key );
You can’t perform that action at this time.
0 commit comments