update
This commit is contained in:
parent
c771f17140
commit
bfbe81aa11
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user