wangwei 5 years ago
parent
commit
c214d3239a
1 changed files with 11 additions and 0 deletions
  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);
+	}
+
 	/**
 	 * 加载配置文件
 	 *