Commit ae57af5b authored by 周健威's avatar 周健威

修改代码

parent 59e1df60
......@@ -104,8 +104,8 @@ public class GtDataRestClient {
private ScheduledExecutorService scheduler;
// @PostConstruct
// public void init() {
@PostConstruct
public void init() {
// try {
// login();// 第一次更新认证信息,在初始化时执行
// } catch (GtDataRestException e) {
......@@ -130,8 +130,8 @@ public class GtDataRestClient {
// Thread thread = new Thread(task);
// thread.setDaemon(true);
// scheduler.scheduleAtFixedRate(thread, 5L, 5L, TimeUnit.MINUTES);// 每5分钟执行一次
//
// }
}
@PreDestroy
public void dostory() {
......
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