全面优化

This commit is contained in:
liyunfeng 2022-03-14 20:46:28 +08:00
parent 166ee440df
commit cbd7fc7c98

View File

@ -54,8 +54,8 @@ public class CenterStarter {
List<String> list = config.getList("workers");
if(!list.contains(buildKey())){
list.add(buildValue());
config.putConfig("workers", JSON.toJSONString(list));
}
config.putConfig("workers", JSON.toJSONString(list));
} catch (Exception e) {
//do nothing
e.printStackTrace();