提交 02ba9518 authored 作者: 毛洋's avatar 毛洋

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

上级 643f8254
......@@ -44,7 +44,10 @@ public class UEditorController {
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':'"+imageUrl+"'");
exec=exec.replace("\"basePath\":\"erp/\"","'basePath':'"+ossPath+"'");
System.out.println("exec:"+exec);
/*if(!exec.contains("videoMaxSize")) {
JSONObject jsonConfig =new JSONObject(exec);
jsonConfig.put("url", imageUrl+jsonConfig.getString("url"));
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论