将influxDB的数据库名配置调整为配置文件
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.njcn.influxdb.config;
|
||||
|
||||
import com.njcn.influxdb.utils.InfluxDbUtils;
|
||||
import lombok.Data;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
@@ -12,6 +13,7 @@ import org.springframework.context.annotation.Configuration;
|
||||
* @version 1.0.0
|
||||
* @createTime 2021/12/10 10:48
|
||||
*/
|
||||
@Data
|
||||
@Configuration
|
||||
public class InfluxDbConfig {
|
||||
|
||||
|
||||
@@ -9,11 +9,6 @@ package com.njcn.influxdb.param;
|
||||
*/
|
||||
public interface InfluxDBPublicParam {
|
||||
|
||||
/**
|
||||
* influxDB数据库名称
|
||||
*/
|
||||
String DATABASE = "PQSBASE";
|
||||
|
||||
/**
|
||||
* 暂态事件汇总表
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user