更新server酱地址
This commit is contained in:
parent
2ca408cabe
commit
a64874e12a
@ -89,7 +89,7 @@ public class Tools {
|
|||||||
public static void sendServer(String title, String msg) {
|
public static void sendServer(String title, String msg) {
|
||||||
try {
|
try {
|
||||||
System.out.println("title=" + title + " msg=" + msg);
|
System.out.println("title=" + title + " msg=" + msg);
|
||||||
HttpURLConnection connection = (HttpURLConnection) new URL("https://sc.ftqq.com/SCU64034T5adf5c5940dcecc016e0e9d0cf9b1e725da126ff47475.send?text="
|
HttpURLConnection connection = (HttpURLConnection) new URL("https://sctapi.ftqq.com/SCT2619Tpqu93OYtQCrK4LOZYEfr2irm.send?title="
|
||||||
+ URLEncoder.encode(title, "UTF-8") + "&desp=" + URLEncoder.encode(msg, "UTF-8")).openConnection();
|
+ URLEncoder.encode(title, "UTF-8") + "&desp=" + URLEncoder.encode(msg, "UTF-8")).openConnection();
|
||||||
connection.connect();
|
connection.connect();
|
||||||
InputStream inputStream = connection.getInputStream();
|
InputStream inputStream = connection.getInputStream();
|
||||||
|
Loading…
Reference in New Issue
Block a user