日志修改
parent
a3a6d52276
commit
34d1ce106e
|
@ -40,6 +40,7 @@ public class HotfixUtil implements IEventHandler {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onEvent(IEvent event) throws Exception {
|
public void onEvent(IEvent event) throws Exception {
|
||||||
|
LOGGER.info("Task1 start");
|
||||||
doWork(SysUtil.getPath("conf/hotfix.json"));
|
doWork(SysUtil.getPath("conf/hotfix.json"));
|
||||||
LOGGER.info("Task1 end");
|
LOGGER.info("Task1 end");
|
||||||
}
|
}
|
||||||
|
|
|
@ -74,6 +74,7 @@ public class GlobleSystemLogic implements IEventHandler {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onEvent(IEvent event) throws Exception {
|
public void onEvent(IEvent event) throws Exception {
|
||||||
|
LOGGER.info("Task3 start");
|
||||||
if (event instanceof MinuteTaskEvent) {
|
if (event instanceof MinuteTaskEvent) {
|
||||||
try {
|
try {
|
||||||
SGodSacrificeSetting sGodSacrificeSetting = STableManager.getConfig(SGodSacrificeSetting.class).get(1);
|
SGodSacrificeSetting sGodSacrificeSetting = STableManager.getConfig(SGodSacrificeSetting.class).get(1);
|
||||||
|
|
|
@ -127,6 +127,8 @@ public class ActivityLogic implements IEventHandler{
|
||||||
}
|
}
|
||||||
|
|
||||||
public void checkActiviyStatus() throws Exception {
|
public void checkActiviyStatus() throws Exception {
|
||||||
|
LOGGER.info("Task2 start");
|
||||||
|
|
||||||
long now = System.currentTimeMillis();
|
long now = System.currentTimeMillis();
|
||||||
LOGGER.info("minute 活动1");
|
LOGGER.info("minute 活动1");
|
||||||
Map<Integer, SGlobalActivity> sGlobalActivityMap = SGlobalActivity.getsGlobalActivityMap();
|
Map<Integer, SGlobalActivity> sGlobalActivityMap = SGlobalActivity.getsGlobalActivityMap();
|
||||||
|
|
Loading…
Reference in New Issue