涩图模块:修复每日统计没效果

This commit is contained in:
Yutousama 2022-04-22 00:30:28 +08:00
parent fd5e32508f
commit 3dac0288f3
2 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,6 @@ public class GetSeTu extends Model {
if ("00:00:00".equals(time)) {
del();
} else if (RedisTools.get("Setu_time", "23:59:00").equals(time)) {
Log.i(time+"--------------");
send();
}
}

View File

@ -18,6 +18,7 @@ import java.util.TimerTask;
public class ApplicationInit implements ApplicationRunner {
@Override
public void run(ApplicationArguments args) throws Exception {
Log.i("ApplicationInit run");
new Timer().schedule(new TimerTask() {
private String oldTime = "";
@Override