Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
slm-fileview
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jenkins
slm-fileview
Commits
1339c093
Commit
1339c093
authored
Nov 29, 2019
by
陈精华
Committed by
kl
Nov 29, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化:调整异常页面提示文案
parent
01e310a6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
OtherFilePreviewImpl.java
...ain/java/cn/keking/service/impl/OtherFilePreviewImpl.java
+1
-2
fileNotSupported.ftl
jodconverter-web/src/main/resources/web/fileNotSupported.ftl
+1
-1
No files found.
jodconverter-web/src/main/java/cn/keking/service/impl/OtherFilePreviewImpl.java
View file @
1339c093
...
@@ -19,8 +19,7 @@ public class OtherFilePreviewImpl implements FilePreview {
...
@@ -19,8 +19,7 @@ public class OtherFilePreviewImpl implements FilePreview {
@Override
@Override
public
String
filePreviewHandle
(
String
url
,
Model
model
,
FileAttribute
fileAttribute
)
{
public
String
filePreviewHandle
(
String
url
,
Model
model
,
FileAttribute
fileAttribute
)
{
model
.
addAttribute
(
"fileType"
,
fileAttribute
.
getSuffix
());
model
.
addAttribute
(
"fileType"
,
fileAttribute
.
getSuffix
());
model
.
addAttribute
(
"msg"
,
"系统还不支持该格式文件的在线预览,"
+
model
.
addAttribute
(
"msg"
,
"系统还不支持该格式文件的在线预览"
);
"如有需要请按下方显示的邮箱地址联系系统维护人员"
);
return
"fileNotSupported"
;
return
"fileNotSupported"
;
}
}
}
}
jodconverter-web/src/main/resources/web/fileNotSupported.ftl
View file @
1339c093
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
<span>
<span>
该文件类型(${fileType})系统暂时不支持在线预览,
<b>
说明
</b>
:
该文件类型(${fileType})系统暂时不支持在线预览,
<b>
说明
</b>
:
<p
style=
"color: red;"
>
${msg}
</p>
<p
style=
"color: red;"
>
${msg}
</p>
如有需要请联系
<a
href=
"mailto:1210893441@qq.com"
>
@HappyPig
</a>
有任何疑问,请加
<a
href=
"https://jq.qq.com/?_wv=1027&k=5c0UAtu"
>
官方QQ群:613025121
</a>
咨询
</span>
</span>
</div>
</div>
</body>
</body>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment