Browse Source

处理环境注入的方式问题

yujia 7 years ago
parent
commit
9a9f86c6ff
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/uas/platform/b2c/core/config/SysConf.java

+ 1 - 1
src/main/java/com/uas/platform/b2c/core/config/SysConf.java

@@ -172,7 +172,7 @@ public class SysConf {
 	@Value(("#{sys.messageServiceUrl}"))
 	private String messageServiceUrl;
 
-	@Value("#{sys.profile}")
+	@Value(("#{sys.profile}"))
 	private String profile;
 
 	public Boolean getRebuildIndexesOnRefresh() {