Commit 1d978aca authored by 赵啸非's avatar 赵啸非

添加资源自动刷新获取

parent feebea97
...@@ -40,7 +40,7 @@ public class DemoStartService implements IApplicationService { ...@@ -40,7 +40,7 @@ public class DemoStartService implements IApplicationService {
ThreadPool.getInstance().init(10); ThreadPool.getInstance().init(10);
logger.info("开始服务..[配置已加载完成,但部分框架还未初始化,比如:Kafka]"); logger.info("开始服务..[配置已加载完成,但部分框架还未初始化,比如:Kafka]");
Rest<String> rest = userFeign.synchSiteAuth(); /* Rest<String> rest = userFeign.synchSiteAuth();
if (rest.getCode().equals(YesNoEnum.YES.getValue())) { if (rest.getCode().equals(YesNoEnum.YES.getValue())) {
UserPdu userPdu = new UserPdu(); UserPdu userPdu = new UserPdu();
userPdu.setPage(1); userPdu.setPage(1);
...@@ -53,10 +53,7 @@ public class DemoStartService implements IApplicationService { ...@@ -53,10 +53,7 @@ public class DemoStartService implements IApplicationService {
userService.updateUserList(list.getData().getData()); userService.updateUserList(list.getData().getData());
} }
}*/
}
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment