Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
one-certificate-system
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
赵啸非
one-certificate-system
Commits
52992564
Commit
52992564
authored
Aug 23, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加水印图片
parent
6bf0d4a1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
10 deletions
+24
-10
one-certificate-manager/src/main/java/com/mortals/xhx/busiz/web/TestSendMsgController.java
...java/com/mortals/xhx/busiz/web/TestSendMsgController.java
+15
-6
one-certificate-manager/src/main/java/com/mortals/xhx/module/child/service/impl/ChildLicenseServiceImpl.java
...hx/module/child/service/impl/ChildLicenseServiceImpl.java
+5
-2
one-certificate-manager/src/main/java/com/mortals/xhx/module/record/service/impl/ApplyLogServiceImpl.java
...s/xhx/module/record/service/impl/ApplyLogServiceImpl.java
+4
-2
No files found.
one-certificate-manager/src/main/java/com/mortals/xhx/busiz/web/TestSendMsgController.java
View file @
52992564
...
@@ -61,9 +61,12 @@ public class TestSendMsgController {
...
@@ -61,9 +61,12 @@ public class TestSendMsgController {
if
(
FileUtil
.
exist
(
annexUrlAllPath
))
{
if
(
FileUtil
.
exist
(
annexUrlAllPath
))
{
WatermarkImgUtils
.
addWatermark
(
annexUrlAllPath
,
WatermarkImgUtils
.
addWatermark
(
annexUrlAllPath
,
targetAllPath
,
targetAllPath
,
WarterMark
,
"jpg"
);
WarterMark
,
"png"
);
applyLogEntity
.
setWatermarkUrl
(
targetPath
);
}
else
{
applyLogEntity
.
setWatermarkUrl
(
""
);
}
}
applyLogEntity
.
setWatermarkUrl
(
targetPath
);
}
}
}
}
...
@@ -87,9 +90,12 @@ public class TestSendMsgController {
...
@@ -87,9 +90,12 @@ public class TestSendMsgController {
if
(
FileUtil
.
exist
(
originalAllPath
))
{
if
(
FileUtil
.
exist
(
originalAllPath
))
{
WatermarkImgUtils
.
addWatermark
(
originalAllPath
,
WatermarkImgUtils
.
addWatermark
(
originalAllPath
,
targetAllPath
,
targetAllPath
,
WarterMark
,
"jpg"
);
WarterMark
,
"png"
);
childLicenseEntity
.
setOriginalWaterMarkPath
(
targetPath
);
}
else
{
childLicenseEntity
.
setOriginalWaterMarkPath
(
""
);
}
}
childLicenseEntity
.
setOriginalWaterMarkPath
(
targetPath
);
}
}
}
}
...
@@ -114,9 +120,12 @@ public class TestSendMsgController {
...
@@ -114,9 +120,12 @@ public class TestSendMsgController {
if
(
FileUtil
.
exist
(
originalAllPath
))
{
if
(
FileUtil
.
exist
(
originalAllPath
))
{
WatermarkImgUtils
.
addWatermark
(
originalAllPath
,
WatermarkImgUtils
.
addWatermark
(
originalAllPath
,
targetAllPath
,
targetAllPath
,
WarterMark
,
"jpg"
);
WarterMark
,
"png"
);
childLicenseEntity
.
setCopyWaterMarkPath
(
targetPath
);
}
else
{
childLicenseEntity
.
setCopyWaterMarkPath
(
""
);
}
}
childLicenseEntity
.
setCopyWaterMarkPath
(
targetPath
);
}
}
}
}
...
...
one-certificate-manager/src/main/java/com/mortals/xhx/module/child/service/impl/ChildLicenseServiceImpl.java
View file @
52992564
...
@@ -155,8 +155,11 @@ public class ChildLicenseServiceImpl extends AbstractCRUDServiceImpl<ChildLicens
...
@@ -155,8 +155,11 @@ public class ChildLicenseServiceImpl extends AbstractCRUDServiceImpl<ChildLicens
if
(
FileUtil
.
exist
(
originalAllPath
))
{
if
(
FileUtil
.
exist
(
originalAllPath
))
{
WatermarkImgUtils
.
addWatermark
(
originalAllPath
,
WatermarkImgUtils
.
addWatermark
(
originalAllPath
,
targetAllPath
,
targetAllPath
,
WarterMark
,
"jpg"
);
WarterMark
,
"png"
);
return
targetPath
;
}
else
{
return
""
;
}
}
return
targetPath
;
}
}
}
}
\ No newline at end of file
one-certificate-manager/src/main/java/com/mortals/xhx/module/record/service/impl/ApplyLogServiceImpl.java
View file @
52992564
...
@@ -440,9 +440,11 @@ public class ApplyLogServiceImpl extends AbstractCRUDServiceImpl<ApplyLogDao, Ap
...
@@ -440,9 +440,11 @@ public class ApplyLogServiceImpl extends AbstractCRUDServiceImpl<ApplyLogDao, Ap
if
(
FileUtil
.
exist
(
annexUrlAllPath
))
{
if
(
FileUtil
.
exist
(
annexUrlAllPath
))
{
WatermarkImgUtils
.
addWatermark
(
annexUrlAllPath
,
WatermarkImgUtils
.
addWatermark
(
annexUrlAllPath
,
targetAllPath
,
targetAllPath
,
WarterMark
,
"jpg"
);
WarterMark
,
"png"
);
applyLogEntity
.
setWatermarkUrl
(
targetPath
);
}
else
{
applyLogEntity
.
setWatermarkUrl
(
""
);
}
}
applyLogEntity
.
setWatermarkUrl
(
targetPath
);
}
}
}
}
...
...
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