diff --git a/src/main/java/com/yutou/qqbot/models/setu/GetSeTu.java b/src/main/java/com/yutou/qqbot/models/setu/GetSeTu.java index f39ed9e..2d4a9c6 100644 --- a/src/main/java/com/yutou/qqbot/models/setu/GetSeTu.java +++ b/src/main/java/com/yutou/qqbot/models/setu/GetSeTu.java @@ -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(); } } diff --git a/src/main/java/com/yutou/qqbot/utlis/ApplicationInit.java b/src/main/java/com/yutou/qqbot/utlis/ApplicationInit.java index 84b80e8..5f8e232 100644 --- a/src/main/java/com/yutou/qqbot/utlis/ApplicationInit.java +++ b/src/main/java/com/yutou/qqbot/utlis/ApplicationInit.java @@ -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