提交 4fb82308 authored 作者: javamaoyang's avatar javamaoyang

添加1.0 版本

上级 3cd2bd64
流水线 #8157 已取消 于阶段
...@@ -3,12 +3,12 @@ ...@@ -3,12 +3,12 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.example</groupId> <groupId>com.mofang</groupId>
<artifactId>ueditor-test</artifactId> <artifactId>mofang-ueditor</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>ueditor-test</name> <name>mofang-ueditor</name>
<description>Demo project for Spring Boot</description> <description>Demo project for Spring Boot</description>
<parent> <parent>
......
...@@ -17,7 +17,7 @@ import java.io.PrintWriter; ...@@ -17,7 +17,7 @@ import java.io.PrintWriter;
@Controller @Controller
public class UEditorController { public class UEditorController {
@Value("${imageUrl}") @Value("${oss.host}")
private String imageUrl; private String imageUrl;
...@@ -43,7 +43,7 @@ public class UEditorController { ...@@ -43,7 +43,7 @@ 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("{imgUrl}",imageUrl); exec=exec.replace("{imgUrl}",imageUrl+"/");
exec=exec.replace("{basePath}",ossPath); exec=exec.replace("{basePath}",ossPath);
//exec=exec.replace("'basePath':'erp/'","'basePath':'"+ossPath+"'"); //exec=exec.replace("'basePath':'erp/'","'basePath':'"+ossPath+"'");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论