diff --git a/src/main/java/com/yutou/qqbot/utlis/HttpTools.java b/src/main/java/com/yutou/qqbot/utlis/HttpTools.java index c80d546..07c1810 100644 --- a/src/main/java/com/yutou/qqbot/utlis/HttpTools.java +++ b/src/main/java/com/yutou/qqbot/utlis/HttpTools.java @@ -197,7 +197,7 @@ public class HttpTools { } connection.addRequestProperty("User-Agent", getExtUa()); - // Log.i(TAG,"获取到网络请求:"+connection.getResponseCode()); + Log.i("获取到网络请求:"+((HttpsURLConnection)connection).getResponseCode()); InputStream inputStream = connection.getInputStream(); jar = new File(downloadPath + saveName + "_tmp.tmp");