src/main/java/com/nanometer/smartlab/controller/BaseController.java
@@ -18,6 +18,12 @@ @Value("${institute.name}") private String title; @Value("${institute.logo}") private String logo; @Value("${activeEnv}") private String activeEnv; public Subject getSubject() { return SecurityUtils.getSubject(); } @@ -75,4 +81,15 @@ } return this.title; } public String getLogo(){ if(StringUtils.isBlank(this.logo)){ return "/resources/images/中国科学院苏州纳米技术与纳米仿生研究所logo.png"; } return this.logo; } public String getActiveEnv(){ return this.activeEnv; } }