update
This commit is contained in:
parent
c771f17140
commit
bfbe81aa11
@ -122,11 +122,11 @@ public class BTDownloadManager {
|
||||
if (hash != null) {
|
||||
String map = RedisTools.getHashMap("rss", hash);
|
||||
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")) {
|
||||
QQBotManager.getInstance().sendMessage(item.getString("title"));
|
||||
QQBotManager.getInstance().sendMessage(text);
|
||||
} else {
|
||||
QQBotManager.getInstance().sendMessage(item.getString("thumbnail"),item.getString("title"));
|
||||
QQBotManager.getInstance().sendMessage(item.getString("thumbnail"),text);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user