Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
e6b7c180
Commit
e6b7c180
authored
Apr 13, 2023
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
保存页面截图接口修改为文件路径存储
parent
dacd9b15
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
portal-manager/src/main/java/com/mortals/xhx/module/page/service/impl/PageInfoServiceImpl.java
...als/xhx/module/page/service/impl/PageInfoServiceImpl.java
+1
-0
No files found.
portal-manager/src/main/java/com/mortals/xhx/module/page/service/impl/PageInfoServiceImpl.java
View file @
e6b7c180
...
@@ -82,6 +82,7 @@ public class PageInfoServiceImpl extends AbstractCRUDServiceImpl<PageInfoDao, Pa
...
@@ -82,6 +82,7 @@ public class PageInfoServiceImpl extends AbstractCRUDServiceImpl<PageInfoDao, Pa
private
void
doSaveImageBase64
(
PageInfoEntity
entity
,
String
oldName
){
private
void
doSaveImageBase64
(
PageInfoEntity
entity
,
String
oldName
){
String
base64
=
String
.
valueOf
(
entity
.
getScreenUrl
());
String
base64
=
String
.
valueOf
(
entity
.
getScreenUrl
());
base64
=
base64
.
replaceAll
(
"data:image/png;base64,"
,
""
);
if
(
StringUtils
.
isEmpty
(
base64
)){
if
(
StringUtils
.
isEmpty
(
base64
)){
throw
new
AppException
(
"图片不能为空"
);
throw
new
AppException
(
"图片不能为空"
);
}
}
...
...
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