|
@@ -96,7 +96,7 @@ public class HttpClientUtil {
|
|
.get()
|
|
.get()
|
|
.build();
|
|
.build();
|
|
Response response = client.newCall(request).execute();
|
|
Response response = client.newCall(request).execute();
|
|
- return String.valueOf(response.code());
|
|
|
|
|
|
+ return response.body() != null ? response.body().string() : null;
|
|
}
|
|
}
|
|
|
|
|
|
public static String gets(String url) throws Exception {
|
|
public static String gets(String url) throws Exception {
|