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
5927f17e
Commit
5927f17e
authored
Aug 23, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加水印图片
parent
15d8f678
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
22 deletions
+29
-22
one-certificate-manager/src/main/java/com/mortals/xhx/busiz/web/TestSendMsgController.java
...java/com/mortals/xhx/busiz/web/TestSendMsgController.java
+13
-3
one-certificate-manager/src/test/java/com/mortals/httpclient/http-client.env.json
...src/test/java/com/mortals/httpclient/http-client.env.json
+3
-18
one-certificate-manager/src/test/java/com/mortals/httpclient/system.http
...-manager/src/test/java/com/mortals/httpclient/system.http
+13
-1
No files found.
one-certificate-manager/src/main/java/com/mortals/xhx/busiz/web/TestSendMsgController.java
View file @
5927f17e
package
com.mortals.xhx.busiz.web
;
import
cn.hutool.core.io.FileUtil
;
import
com.google.common.collect.Lists
;
import
com.mortals.framework.ap.GlobalSysInfo
;
import
com.mortals.framework.common.Rest
;
import
com.mortals.xhx.base.system.upload.service.UploadService
;
...
...
@@ -67,7 +68,10 @@ public class TestSendMsgController {
}
if
(!
ObjectUtils
.
isEmpty
(
applyLogEntities
))
{
applyLogService
.
update
(
applyLogEntities
);
List
<
List
<
ApplyLogEntity
>>
partition
=
Lists
.
partition
(
applyLogEntities
,
100
);
for
(
List
<
ApplyLogEntity
>
logEntities
:
partition
)
{
applyLogService
.
update
(
logEntities
);
}
}
ChildLicenseQuery
childLicenseQuery
=
new
ChildLicenseQuery
();
...
...
@@ -91,7 +95,10 @@ public class TestSendMsgController {
}
if
(!
ObjectUtils
.
isEmpty
(
childLicenseEntities
))
{
childLicenseService
.
update
(
childLicenseEntities
);
List
<
List
<
ChildLicenseEntity
>>
partition
=
Lists
.
partition
(
childLicenseEntities
,
100
);
for
(
List
<
ChildLicenseEntity
>
licenseEntities
:
partition
)
{
childLicenseService
.
update
(
licenseEntities
);
}
}
childLicenseQuery
=
new
ChildLicenseQuery
();
...
...
@@ -114,7 +121,10 @@ public class TestSendMsgController {
}
if
(!
ObjectUtils
.
isEmpty
(
childLicenseEntities
))
{
childLicenseService
.
update
(
childLicenseEntities
);
List
<
List
<
ChildLicenseEntity
>>
partition
=
Lists
.
partition
(
childLicenseEntities
,
100
);
for
(
List
<
ChildLicenseEntity
>
licenseEntities
:
partition
)
{
childLicenseService
.
update
(
childLicenseEntities
);
}
}
...
...
one-certificate-manager/src/test/java/com/mortals/httpclient/http-client.env.json
View file @
5927f17e
...
...
@@ -8,23 +8,8 @@
"test-remote"
:
{
"baseUrl"
:
"http://8.136.255.30:11011/onecert"
},
"yibin"
:
{
"baseUrl"
:
"http://112.19.80.237:11039/attendance"
,
"baseLogin"
:
"http://192.168.0.98:11078/base"
},
"pengxi"
:
{
"baseUrl"
:
"http://118.122.189.109:11039/attendance"
,
"baseLogin"
:
"http://192.168.0.98:11078/base"
},
"portal"
:
{
"baseUrl"
:
"http://192.168.0.98:11072/zwfw"
,
"baseLogin"
:
"http://192.168.0.98:11078/base"
},
"portal-yibin"
:
{
"baseUrl"
:
"http://112.19.80.237:11078/zwfw"
"product"
:
{
"baseUrl"
:
"http://192.168.0.250:11011/onecert"
}
}
\ No newline at end of file
one-certificate-manager/src/test/java/com/mortals/httpclient/system.http
View file @
5927f17e
...
...
@@ -52,12 +52,24 @@ Content-Type: application/json
{}
###刷新水印
GET {{baseUrl}}/test/refreshWaterMark
###获取参数列表
POST {{baseUrl}}/apply/log/interlist
Content-Type: application/json
{
"industryId": 18
"industryId": 18
}
###获取参数列表
GET {{baseUrl}}/test/subtree?parentId=-1
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