From ae66fffc8de27c60bb0c67967248cb452852f3d7 Mon Sep 17 00:00:00 2001 From: wangliwen Date: Tue, 21 Jun 2022 09:57:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=85=E5=A4=B4=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=BC=95=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/domain/BaoTouProperties.java | 19 +++++++++++++++++++ .../src/main/resources/baotou.properties | 1 + 2 files changed, 20 insertions(+) create mode 100644 renren-admin/src/main/java/io/renren/common/domain/BaoTouProperties.java create mode 100644 renren-admin/src/main/resources/baotou.properties diff --git a/renren-admin/src/main/java/io/renren/common/domain/BaoTouProperties.java b/renren-admin/src/main/java/io/renren/common/domain/BaoTouProperties.java new file mode 100644 index 00000000..61f0b17a --- /dev/null +++ b/renren-admin/src/main/java/io/renren/common/domain/BaoTouProperties.java @@ -0,0 +1,19 @@ +package io.renren.common.domain; + + +import lombok.Data; +import org.springframework.boot.context.properties.ConfigurationProperties; +import org.springframework.context.annotation.PropertySource; +import org.springframework.stereotype.Component; + + +/** + * 包头区域配置项 + */ +@Data +@Component +@PropertySource("classpath:baotou.properties") +@ConfigurationProperties(prefix = "baotou") +public class BaoTouProperties { + private String hlsurl; +} diff --git a/renren-admin/src/main/resources/baotou.properties b/renren-admin/src/main/resources/baotou.properties new file mode 100644 index 00000000..f59252f2 --- /dev/null +++ b/renren-admin/src/main/resources/baotou.properties @@ -0,0 +1 @@ +baotou.hlsurl=http://10.110.205.1:18088/server/device/hisdeviceapplylist/url/%s \ No newline at end of file