Swagger提示版本和POM中版本通过配置保持一致

This commit is contained in:
zengqiao
2022-01-17 13:17:07 +08:00
parent d6181522c0
commit f6ba8bc95e
5 changed files with 13 additions and 2 deletions

View File

@@ -18,6 +18,9 @@ public class ConfigUtils {
@Value(value = "${custom.idc:cn}")
private String idc;
@Value(value = "${spring.profiles.active}")
@Value(value = "${spring.profiles.active:dev}")
private String kafkaManagerEnv;
@Value(value = "${spring.application.version:unknown}")
private String applicationVersion;
}