更新代码

This commit is contained in:
xiao-fajia 2024-09-27 17:22:42 +08:00
parent 163a582dd0
commit e6c18e9541

View File

@ -31,7 +31,8 @@ public class UeditorController {
request.setCharacterEncoding("utf-8");
response.setHeader("Content-Type", "text/html");
//注意path不能含有中文路径,确认该path能指向config.json
String path = ClassUtils.getDefaultClassLoader().getResource("").getPath() + "config";
// String path = ClassUtils.getDefaultClassLoader().getResource("").getPath() + "config";
String path = "E:/Workspace/Work/lanan/lanan-system/dl-module-base/target/classes/config/ueditor/config";
System.out.println("path = " + path);
PrintWriter printWriter = response.getWriter();
printWriter.write(new ActionEnter(request, path).exec());