新建文档和解压适配优化
This commit is contained in:
parent
3506c8e5d1
commit
aebcd71254
8
pom.xml
8
pom.xml
@ -180,14 +180,6 @@
|
||||
<fileset dir="target/${app-name}/${app-name}">
|
||||
</fileset>
|
||||
</copy>
|
||||
<!-- <copy file="target/classes/script/startup.bat" tofile="${release-path}/startup.bat"/>-->
|
||||
<!-- <copy file="target/classes/script/startup.sh" tofile="${release-path}/startup.sh"/>-->
|
||||
<!-- <copy file="target/classes/script/stop.sh" tofile="${release-path}/stop.sh"/>-->
|
||||
<!-- <copy todir="${release-path}">-->
|
||||
<!-- <fileset dir="target/classes">-->
|
||||
<!-- <include name="**/static/**" />-->
|
||||
<!-- </fileset>-->
|
||||
<!-- </copy>-->
|
||||
</target>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
@ -87,7 +87,7 @@ public class OfficeController {
|
||||
} else if ("pptx".equals(extendName)) {
|
||||
templateFilePath = "template/PowerPoint.pptx";
|
||||
}
|
||||
String templateFileUrl = PathUtil.getProjectRootPath() + templateFilePath;
|
||||
String templateFileUrl = PathUtil.getStaticPath() + templateFilePath;
|
||||
FileInputStream fileInputStream = new FileInputStream(templateFileUrl);
|
||||
Copier copier = ufopFactory.getCopier();
|
||||
CopyFile copyFile = new CopyFile();
|
||||
|
@ -17,6 +17,14 @@
|
||||
<directory>src/main/resources</directory>
|
||||
<outputDirectory>conf</outputDirectory>
|
||||
<fileMode>0644</fileMode>
|
||||
<excludes>
|
||||
<exclude>static/**</exclude>
|
||||
</excludes>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>src/main/resources/static</directory>
|
||||
<outputDirectory>static</outputDirectory>
|
||||
<fileMode>0644</fileMode>
|
||||
</fileSet>
|
||||
<!-- copy本工程的jar -->
|
||||
<fileSet>
|
||||
|
@ -1,4 +1,3 @@
|
||||
-- 初始化用户
|
||||
insert ignore into role (roleId, role, description) values (1, 'admin', '管理员'),(2, 'user', '普通用户');
|
||||
insert ignore into permission (permissionId, permission) values (1, 'admin'),(2, 'user');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user