Commit 190456d5 authored by 赵啸非's avatar 赵啸非

修改文件存储路径

parent f9ec10ef
......@@ -33,7 +33,7 @@ public class RedissonConfig {
private int database;
@Bean
//@Bean
public RedissonClient redissonClient() {
RedissonClient redissonClient;
Config config = new Config();
......
......@@ -56,7 +56,7 @@ public class DeviceStartService implements IApplicationStartedService {
sendTaskThreadPool.init(20);
//启动短信发送响应更新线程
sendTaskThreadPool.execute(() -> {
/* sendTaskThreadPool.execute(() -> {
int waitTime = 1000;
while (!stopped) {
try {
......@@ -74,7 +74,7 @@ public class DeviceStartService implements IApplicationStartedService {
}
}
}
});
});*/
//初始化站点缓存
......@@ -84,8 +84,6 @@ public class DeviceStartService implements IApplicationStartedService {
Rest<RespData<List<SitePdu>>> resp = siteFeign.list(sitePdu);
if (resp.getCode() == 1) {
List<SitePdu> sitePduList = resp.getData().getData();
sitePduList.stream().forEach(site -> {
cacheService.hset(KEY_SITE_CACHE, site.getId().toString(), site.getSiteName());
});
......
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