Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
gsc
/
gsc-vcp-thirdparty-facade
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit be123cd9
authored
Nov 23, 2026
by
章家宝
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat(gsc): szglsk esign notify
1 parent
2130b40b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
src/main/java/com/gsc4cloud/gsc/facade/vpcthirdparty/controller/esign/ESignNotifyController.java
src/main/java/com/gsc4cloud/gsc/facade/vpcthirdparty/controller/esign/ESignNotifyController.java
View file @
be123cd
...
@@ -32,6 +32,9 @@ public class ESignNotifyController extends HttpServlet {
...
@@ -32,6 +32,9 @@ public class ESignNotifyController extends HttpServlet {
@Value
(
"${yjzh-esign.appKey}"
)
@Value
(
"${yjzh-esign.appKey}"
)
private
String
yjzhAppSecret
;
private
String
yjzhAppSecret
;
@Value
(
"${szglsk-esign.appKey}"
)
private
String
szglskAppSecret
;
@Autowired
@Autowired
private
ESignRemote
esignRemote
;
private
ESignRemote
esignRemote
;
...
@@ -68,4 +71,19 @@ public class ESignNotifyController extends HttpServlet {
...
@@ -68,4 +71,19 @@ public class ESignNotifyController extends HttpServlet {
return
Map
.
of
(
"code"
,
"200"
,
"msg"
,
"success"
);
return
Map
.
of
(
"code"
,
"200"
,
"msg"
,
"success"
);
}
}
@PostMapping
(
"/szglNotify"
)
public
Map
<
String
,
String
>
szglEsignNotify
(
@RequestBody
String
param
,
HttpServletRequest
request
)
throws
IOException
{
log
.
info
(
"szglEsignNotify param:{}"
,
param
);
if
(
StringUtils
.
isBlank
(
param
))
{
return
Map
.
of
(
"code"
,
"500"
,
"msg"
,
"fail"
);
}
SafeVerify
sv
=
new
SafeVerify
();
String
res
=
sv
.
checkPass
(
param
,
request
,
szglskAppSecret
);
if
(!
res
.
equals
(
"true"
))
{
return
Map
.
of
(
"code"
,
"500"
,
"msg"
,
"fail"
);
}
esignRemote
.
notify
(
param
);
return
Map
.
of
(
"code"
,
"200"
,
"msg"
,
"success"
);
}
}
}
Write
Preview
Markdown
is supported
Attach a file
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 post a comment