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 52a23ed3
authored
Jan 12, 2026
by
崔彦峰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
modify: 提交优加回调接口。
1 parent
10b7b3f6
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 @
52a23ed
...
...
@@ -29,6 +29,9 @@ public class ESignNotifyController extends HttpServlet {
@Value
(
"${esign.appKey}"
)
private
String
appSecret
;
@Value
(
"${yjzhEsign.appKey}"
)
private
String
yjzhAppSecret
;
@Autowired
private
ESignRemote
esignRemote
;
...
...
@@ -50,4 +53,19 @@ public class ESignNotifyController extends HttpServlet {
return
Map
.
of
(
"code"
,
"200"
,
"msg"
,
"success"
);
}
@PostMapping
(
"/yjzhNotify"
)
public
Map
<
String
,
String
>
yjzhEsignNotify
(
@RequestBody
String
param
,
HttpServletRequest
request
)
throws
IOException
{
log
.
info
(
"yjzhEsignNotify param:{}"
,
param
);
if
(
StringUtils
.
isBlank
(
param
))
{
return
Map
.
of
(
"code"
,
"500"
,
"msg"
,
"fail"
);
}
SafeVerify
sv
=
new
SafeVerify
();
String
res
=
sv
.
checkPass
(
param
,
request
,
yjzhAppSecret
);
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