提交 63eaed8b authored 作者: 毛洋's avatar 毛洋

更新src/main/java/com/example/controller/UEditorController.java

上级 68164825
...@@ -43,9 +43,9 @@ public class UEditorController { ...@@ -43,9 +43,9 @@ public class UEditorController {
String exec = new ActionEnter(request, rootPath).exec(); String exec = new ActionEnter(request, rootPath).exec();
exec=exec.replace("\"imageUrlPrefix\":\"https://imgb.mofangx.com/\"","'imageUrlPrefix':'"+imageUrlPrefix+"'"); exec=exec.replace("\"imageUrlPrefix\":\"https://imgb.mofangx.com/\"","'imageUrlPrefix':'"+imageUrlPrefix+"'");
exec=exec.replace("'imageUrlPrefix':'https://imgb.mofangx.com/'","'imageUrlPrefix':'"+imageUrl+"'"); exec=exec.replace("imgb.mofangx.com",imageUrl);
exec=exec.replace("'basePath':'erp/'","'basePath':'"+ossPath+"'"); //exec=exec.replace("'basePath':'erp/'","'basePath':'"+ossPath+"'");
System.out.println("exec:"+exec); System.out.println("exec:"+exec);
/*if(!exec.contains("videoMaxSize")) { /*if(!exec.contains("videoMaxSize")) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论