Explorar o código

处理环境注入的方式问题

yujia %!s(int64=8) %!d(string=hai) anos
pai
achega
9a9f86c6ff

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

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