涩图模块:修复每日统计没效果
This commit is contained in:
parent
fd5e32508f
commit
3dac0288f3
@ -43,7 +43,6 @@ public class GetSeTu extends Model {
|
|||||||
if ("00:00:00".equals(time)) {
|
if ("00:00:00".equals(time)) {
|
||||||
del();
|
del();
|
||||||
} else if (RedisTools.get("Setu_time", "23:59:00").equals(time)) {
|
} else if (RedisTools.get("Setu_time", "23:59:00").equals(time)) {
|
||||||
Log.i(time+"--------------");
|
|
||||||
send();
|
send();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -18,6 +18,7 @@ import java.util.TimerTask;
|
|||||||
public class ApplicationInit implements ApplicationRunner {
|
public class ApplicationInit implements ApplicationRunner {
|
||||||
@Override
|
@Override
|
||||||
public void run(ApplicationArguments args) throws Exception {
|
public void run(ApplicationArguments args) throws Exception {
|
||||||
|
Log.i("ApplicationInit run");
|
||||||
new Timer().schedule(new TimerTask() {
|
new Timer().schedule(new TimerTask() {
|
||||||
private String oldTime = "";
|
private String oldTime = "";
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user