涩图模块:修复每日统计没效果
This commit is contained in:
parent
46322572c7
commit
05a892a135
@ -64,6 +64,9 @@ public class GetSeTu extends Model {
|
|||||||
Log.i("进入涩图打印:" + keys.size());
|
Log.i("进入涩图打印:" + keys.size());
|
||||||
redis.close();
|
redis.close();
|
||||||
for (String key : keys) {
|
for (String key : keys) {
|
||||||
|
if ("Setu_time".equals(key)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
String ret = RedisTools.get(key);
|
String ret = RedisTools.get(key);
|
||||||
MessageChainBuilder builder = null;
|
MessageChainBuilder builder = null;
|
||||||
Log.i(key, ret);
|
Log.i(key, ret);
|
||||||
@ -104,7 +107,7 @@ public class GetSeTu extends Model {
|
|||||||
builder.append("明天见~");
|
builder.append("明天见~");
|
||||||
}
|
}
|
||||||
Log.i("打印色图统计:" + builder);
|
Log.i("打印色图统计:" + builder);
|
||||||
if (builder != null&& !"Setu_time".equals(key)) {
|
if (builder != null) {
|
||||||
QQBotManager.getInstance().sendMessage(Long.parseLong(key.replace("Setu_", "")), builder);
|
QQBotManager.getInstance().sendMessage(Long.parseLong(key.replace("Setu_", "")), builder);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user