feat: 修改property加载方式
This commit is contained in:
-2
@@ -3,7 +3,6 @@ package com.central.common.zookeeper.properties;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* zookeeper配置
|
||||
@@ -18,7 +17,6 @@ import org.springframework.stereotype.Component;
|
||||
@Setter
|
||||
@Getter
|
||||
@ConfigurationProperties(prefix = "zlt.zookeeper")
|
||||
@Component
|
||||
public class ZookeeperProperty {
|
||||
/**
|
||||
* zk连接集群,多个用逗号隔开
|
||||
|
||||
Reference in New Issue
Block a user