jyy
2022-04-15 f57554f7da5e4d05b4b4bab99bf49ac9ca8c2038
zq-erp/src/main/java/com/matrix/system/common/actions/UeditorController.java
@@ -4,8 +4,10 @@
package com.matrix.system.common.actions;
import com.matrix.component.ueditor.ActionEnter;
import com.matrix.component.ueditor.UeditorProperties;
import com.matrix.core.exception.GlobleException;
import com.matrix.core.tools.LogUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -24,6 +26,10 @@
@RequestMapping(value = "admin/beditor")
public class UeditorController {
   @Autowired
   UeditorProperties ueditorProperties;
   /**
    * 百度编辑器主入口方法
    * 
@@ -38,7 +44,7 @@
      response.setContentType("application/json");
      String rootPath = request.getSession().getServletContext().getRealPath("/");
      try {
         String exec = new ActionEnter(request, rootPath).exec();
         String exec = new ActionEnter(request, rootPath,ueditorProperties).exec();
         PrintWriter writer = response.getWriter();
         writer.write(exec);
         writer.flush();