From f57554f7da5e4d05b4b4bab99bf49ac9ca8c2038 Mon Sep 17 00:00:00 2001
From: jyy <935090232@qq.com>
Date: Fri, 15 Apr 2022 21:35:12 +0800
Subject: [PATCH] feat:商品资料导出新增时长字段

---
 zq-erp/src/main/java/com/matrix/system/common/actions/UeditorController.java |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/zq-erp/src/main/java/com/matrix/system/common/actions/UeditorController.java b/zq-erp/src/main/java/com/matrix/system/common/actions/UeditorController.java
index 673b071..aa2d6c7 100644
--- a/zq-erp/src/main/java/com/matrix/system/common/actions/UeditorController.java
+++ b/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();

--
Gitblit v1.9.1