add:新增jellyfin搜刮及推送功能
This commit is contained in:
@@ -38,6 +38,14 @@ public class QQBotManager {
|
||||
return HttpTools.http_post("http://192.168.31.88:802/qq/send.do", json.toString().getBytes(StandardCharsets.UTF_8), 1, header);
|
||||
}
|
||||
|
||||
public String sendMessage(long qq,String text) {
|
||||
JSONObject json = new JSONObject();
|
||||
json.put("qq", qq);
|
||||
json.put("message",text);
|
||||
Map<String, String> header = new HashMap<>();
|
||||
header.put("content-type", "application/json");
|
||||
return HttpTools.http_post("http://192.168.31.88:802/qq/send.do", json.toString().getBytes(StandardCharsets.UTF_8), 1, header);
|
||||
}
|
||||
|
||||
|
||||
public String sendMessage(String imageUrl, String message) {
|
||||
|
||||
Reference in New Issue
Block a user