wangwei 5 年之前
父節點
當前提交
c214d3239a
共有 1 個文件被更改,包括 11 次插入0 次删除
  1. 11 0
      src/main/java/cn/com/qmth/examcloud/commons/util/PropertiesUtil.java

+ 11 - 0
src/main/java/cn/com/qmth/examcloud/commons/util/PropertiesUtil.java

@@ -41,6 +41,17 @@ public class PropertiesUtil {
 	private PropertiesUtil() {
 	}
 
+	/**
+	 * 设置属性
+	 *
+	 * @author WANGWEI
+	 * @param key
+	 * @param value
+	 */
+	public static void setProperty(String key, String value) {
+		PROPS.setProperty(key, value);
+	}
+
 	/**
 	 * 加载配置文件
 	 *