涩图模块:修复每日统计没效果
This commit is contained in:
parent
fd5e32508f
commit
3dac0288f3
@ -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();
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user