瀏覽代碼

update to PropertiesUtil.loadFromPath()

deason 5 年之前
父節點
當前提交
2935b82812

+ 1 - 1
examcloud-core-questions-starter/src/main/java/cn/com/qmth/examcloud/core/questions/starter/config/ExamCloudResourceManager.java

@@ -35,7 +35,7 @@ public class ExamCloudResourceManager implements ResourceManager {
     private RedisClient redisClient;
 
     static {
-        PropertiesUtil.configure(PathUtil.getResoucePath("security.properties"));
+        PropertiesUtil.loadFromPath(PathUtil.getResoucePath("security.properties"));
     }
 
     @Override