This commit is contained in:
Yutousama 2022-10-13 23:16:43 +08:00
parent c771f17140
commit bfbe81aa11

View File

@ -122,11 +122,11 @@ public class BTDownloadManager {
if (hash != null) { if (hash != null) {
String map = RedisTools.getHashMap("rss", hash); String map = RedisTools.getHashMap("rss", hash);
JSONObject item = JSON.parseObject(map); JSONObject item = JSON.parseObject(map);
String text="title"+item.getString("title")+"\n"+item.getString("link"); String text="添加到库:"+item.getString("title")+"\n大妈之家地址:"+item.getString("link");
if (item.containsKey("thumbnail")) { if (item.containsKey("thumbnail")) {
QQBotManager.getInstance().sendMessage(item.getString("title")); QQBotManager.getInstance().sendMessage(text);
} else { } else {
QQBotManager.getInstance().sendMessage(item.getString("thumbnail"),item.getString("title")); QQBotManager.getInstance().sendMessage(item.getString("thumbnail"),text);
} }
} }
} }