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

修改代码

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