refactor: 项目配置增加是否为生产环境配置项

This commit is contained in:
2023-10-25 22:00:41 +08:00
parent f25de2d7f8
commit 38deb950ac
3 changed files with 10 additions and 2 deletions

View File

@@ -81,6 +81,11 @@ public class ProjectProperties {
@NestedConfigurationProperty
private License license;
/**
* 是否为生产环境
*/
private boolean production = false;
/**
* 是否本地解析 IP 归属地
*/