From 48896474e6405f69f5033970538809dbc112a356 Mon Sep 17 00:00:00 2001 From: panlinlin <648540858@qq.com> Date: 星期一, 28 十二月 2020 11:07:01 +0800 Subject: [PATCH] 检查设备是否存在, 不存在则不回复心跳 --- src/main/java/com/genersoft/iot/vmp/conf/VManagerConfig.java | 14 ++++++-------- 1 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/conf/VManagerConfig.java b/src/main/java/com/genersoft/iot/vmp/conf/VManagerConfig.java index be83a88..4c71b5c 100644 --- a/src/main/java/com/genersoft/iot/vmp/conf/VManagerConfig.java +++ b/src/main/java/com/genersoft/iot/vmp/conf/VManagerConfig.java @@ -14,14 +14,12 @@ @Value("${spring.application.database:redis}") private String database; - public String getDatabase() { - return database; - } - public void setDatabase(String database) { - this.database = database; - } + public String getDatabase() { + return database; + } - - + public void setDatabase(String database) { + this.database = database; + } } -- Gitblit v1.8.0