From d2213e56167dcd77c967e996df7c73e104f019d1 Mon Sep 17 00:00:00 2001 From: 935090232@qq.com <ak473600000> Date: Mon, 21 Feb 2022 23:40:08 +0800 Subject: [PATCH] fead:百度编辑器配置文件改造 --- zq-erp/src/main/java/com/matrix/component/ueditor/ActionEnter.java | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/zq-erp/src/main/java/com/matrix/component/ueditor/ActionEnter.java b/zq-erp/src/main/java/com/matrix/component/ueditor/ActionEnter.java index 5a4486f..e5805e6 100644 --- a/zq-erp/src/main/java/com/matrix/component/ueditor/ActionEnter.java +++ b/zq-erp/src/main/java/com/matrix/component/ueditor/ActionEnter.java @@ -7,6 +7,7 @@ import com.matrix.component.ueditor.hunter.ImageHunter; import com.matrix.component.ueditor.upload.Uploader; import com.matrix.component.ueditor.define.State; + import java.util.Map; import javax.servlet.http.HttpServletRequest; @@ -21,14 +22,16 @@ private String actionType = null; private ConfigManager configManager = null; + private UeditorProperties ueditorProperties = null; - public ActionEnter ( HttpServletRequest request, String rootPath ) { + public ActionEnter (HttpServletRequest request, String rootPath , UeditorProperties ueditorProperties) { this.request = request; this.rootPath = rootPath; this.actionType = request.getParameter( "action" ); this.contextPath = request.getContextPath(); - this.configManager = ConfigManager.getInstance( this.rootPath, this.contextPath, request.getRequestURI() ); + this.ueditorProperties=ueditorProperties; + this.configManager = ConfigManager.getInstance( this.rootPath, this.contextPath, request.getRequestURI() ,ueditorProperties ); } -- Gitblit v1.9.1