1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| package cn.besteam.config;
|
| import lombok.Data;
| import org.springframework.boot.context.properties.ConfigurationProperties;
| import org.springframework.stereotype.Component;
|
| /**
| * @author chenqilong
| * @since 2020-04-10
| */
| @ConfigurationProperties(prefix = "sys.env")
| @Component
| @Data
| public class SysEnv {
|
| /**
| * 是否生成API接口文档
| */
| private boolean genApi = true;
|
| }
|
|