Skip to content

Commit ba98834

Browse files
author
ruhao_yan
committed
国际地址解析接口超时时间配置
1 parent 85e80d3 commit ba98834

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/main/java/com/kuaidi100/sdk/api/IntAddressResolution.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@
1919
* @version: 1.0.0
2020
*/
2121
public class IntAddressResolution extends BaseClient {
22+
23+
public IntAddressResolution() {
24+
this.setTimeOut(10000, 10000);
25+
}
26+
2227
@Override
2328
public String getApiUrl(BaseRequest request) {
2429
return ApiInfoConstant.INTADDRESS_RESOLUTION_URL;
@@ -38,4 +43,4 @@ public Result<IntAddressResolutionResp> resolution(AddressResolutionReq addressR
3843
}
3944
return null;
4045
}
41-
}
46+
}

0 commit comments

Comments
 (0)