banip操作需要二次确认
This commit is contained in:
@@ -91,7 +91,9 @@ public class Tools {
|
||||
inputStream.close();
|
||||
connection.disconnect();
|
||||
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();
|
||||
String url="http://" + UpdateIp.nas_ip + ":8000/localhome/bot/send.do?msg=" + URLEncoder.encode((title + "\n" + msg), "UTF-8") + "&token=zIrsh9TUZP2lfRW753PannG49E7VJvor";
|
||||
System.out.println(url);
|
||||
connection = (HttpURLConnection) new URL(url).openConnection();
|
||||
connection.connect();
|
||||
inputStream=connection.getInputStream();
|
||||
i=inputStream.read();
|
||||
|
||||
Reference in New Issue
Block a user