Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
certificate-print
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
廖旭伟
certificate-print
Commits
6db694bd
Commit
6db694bd
authored
Oct 24, 2022
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
终端首页接口
parent
3b120004
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
certificate-manager/src/main/java/com/mortals/xhx/module/certificate/web/CertificatePrintController.java
...hx/module/certificate/web/CertificatePrintController.java
+28
-0
No files found.
certificate-manager/src/main/java/com/mortals/xhx/module/certificate/web/CertificatePrintController.java
View file @
6db694bd
...
@@ -162,4 +162,32 @@ public class CertificatePrintController extends BaseJsonBodyController {
...
@@ -162,4 +162,32 @@ public class CertificatePrintController extends BaseJsonBodyController {
return
ret
;
return
ret
;
}
}
@PostMapping
({
"home"
})
@UnAuth
public
Rest
<
Object
>
printHome
()
{
Rest
<
Object
>
ret
=
new
Rest
();
Map
<
String
,
Object
>
model
=
new
HashMap
();
String
busiDesc
=
"终端首页"
;
int
code
=
1
;
try
{
CertificateClassifyEntity
query
=
new
CertificateClassifyEntity
();
query
.
setShowFront
(
YesNoEnum
.
YES
.
getValue
());
List
<
CertificateClassifyEntity
>
showList
=
certificateClassifyService
.
find
(
query
);
model
.
put
(
"showList"
,
showList
);
model
.
put
(
"printMax"
,
paramService
.
getParamIntValue
(
ParamKey
.
ALLOW_PRINT_MAX_COUNT
));
model
.
put
(
"message_info"
,
busiDesc
+
"成功"
);
this
.
recordSysLog
(
this
.
request
,
busiDesc
+
" 【成功】"
);
}
catch
(
Exception
var9
)
{
code
=
-
1
;
this
.
doException
(
this
.
request
,
busiDesc
,
model
,
var9
);
}
ret
.
setCode
(
code
);
ret
.
setData
(
model
);
ret
.
setDict
(
model
.
get
(
"dict"
));
ret
.
setMsg
(
model
.
get
(
"message_info"
)
==
null
?
""
:
model
.
remove
(
"message_info"
).
toString
());
return
ret
;
}
}
}
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