| 1234567891011121314151617 |
- package com.ema.admin.config;
- import lombok.Data;
- import org.springframework.beans.factory.annotation.Value;
- import org.springframework.stereotype.Component;
- /**
- * 系统属性配置类
- */
- @Data
- @Component
- public class SystemProperties {
- @Value("${spring.profiles.active:}")
- private String active;
- }
|