|
@@ -8,7 +8,7 @@ import com.dtflys.forest.annotation.Var;
|
|
|
|
|
|
public interface CustomHttpClient {
|
|
public interface CustomHttpClient {
|
|
|
|
|
|
- @Post("{url}")
|
|
|
|
|
|
+ @Post(url = "{url}", connectTimeout = 30000, readTimeout = 30000, maxRetryInterval = 3)
|
|
JSONObject postJson(@Var("url") String url, @JSONBody Object object);
|
|
JSONObject postJson(@Var("url") String url, @JSONBody Object object);
|
|
|
|
|
|
|
|
|