|
|
@@ -1,6 +1,7 @@
|
|
|
package com.uas.report.controller;
|
|
|
|
|
|
import com.uas.report.DynamicProperties;
|
|
|
+import com.uas.report.util.MasterManager;
|
|
|
import org.apache.catalina.servlet4preview.http.HttpServletRequest;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
@@ -31,6 +32,7 @@ public class PropertiesController {
|
|
|
@ResponseBody
|
|
|
public boolean update(@RequestParam String json, HttpServletRequest request) {
|
|
|
dynamicProperties.update(json);
|
|
|
+ MasterManager.init();
|
|
|
return true;
|
|
|
}
|
|
|
}
|