remove ftqq service
This commit is contained in:
parent
6dfc9901ab
commit
5254acf82a
@ -103,8 +103,8 @@ 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);
|
||||||
HttpTools.post("https://sctapi.ftqq.com/SCT2619Tpqu93OYtQCrK4LOZYEfr2irm.send",
|
/* HttpTools.post("https://sctapi.ftqq.com/SCT2619Tpqu93OYtQCrK4LOZYEfr2irm.send",
|
||||||
("title=" + URLEncoder.encode(title, "UTF-8") + "&desp=" + URLEncoder.encode(msg, "UTF-8")).getBytes(StandardCharsets.UTF_8));
|
("title=" + URLEncoder.encode(title, "UTF-8") + "&desp=" + URLEncoder.encode(msg, "UTF-8")).getBytes(StandardCharsets.UTF_8));*/
|
||||||
if (!StringUtils.isEmpty(UpdateIp.nas_ip)) {
|
if (!StringUtils.isEmpty(UpdateIp.nas_ip)) {
|
||||||
String img = null;
|
String img = null;
|
||||||
msg = msg.replace("<br/>", "\n");
|
msg = msg.replace("<br/>", "\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user