update
This commit is contained in:
parent
d247235ca5
commit
ec0e94feec
@ -93,6 +93,10 @@ public class Tools {
|
|||||||
if (UpdateIp.nas_ip != null) {
|
if (UpdateIp.nas_ip != null) {
|
||||||
connection = (HttpURLConnection) new URL("http://" + UpdateIp.nas_ip + ":8000/localhome/bot/send.do?msg=" + URLEncoder.encode((title + "\n" + msg), "UTF-8") + "&token=zIrsh9TUZP2lfRW753PannG49E7VJvor").openConnection();
|
connection = (HttpURLConnection) new URL("http://" + UpdateIp.nas_ip + ":8000/localhome/bot/send.do?msg=" + URLEncoder.encode((title + "\n" + msg), "UTF-8") + "&token=zIrsh9TUZP2lfRW753PannG49E7VJvor").openConnection();
|
||||||
connection.connect();
|
connection.connect();
|
||||||
|
inputStream=connection.getInputStream();
|
||||||
|
i=inputStream.read();
|
||||||
|
inputStream.close();
|
||||||
|
connection.disconnect();
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
Loading…
Reference in New Issue
Block a user