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 39a2ff35
authored
Jan 30, 2026
by
崔彦峰
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v5.5.4_20260128' into 'master'
上线合并 See merge request
!2
2 parents
9597d772
f51ffb4d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
1 deletions
pom.xml
src/main/java/com/gsc4cloud/gsc/facade/vpcthirdparty/controller/esign/ESignNotifyController.java
pom.xml
View file @
39a2ff3
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
<dependency>
<dependency>
<groupId>
com.gsc4cloud
</groupId>
<groupId>
com.gsc4cloud
</groupId>
<artifactId>
gsc-vcp-api
</artifactId>
<artifactId>
gsc-vcp-api
</artifactId>
<version>
1.0.
1
-SNAPSHOT
</version>
<version>
1.0.
5
-SNAPSHOT
</version>
</dependency>
</dependency>
<!--feign 调用-->
<!--feign 调用-->
<dependency>
<dependency>
...
...
src/main/java/com/gsc4cloud/gsc/facade/vpcthirdparty/controller/esign/ESignNotifyController.java
View file @
39a2ff3
...
@@ -29,6 +29,9 @@ public class ESignNotifyController extends HttpServlet {
...
@@ -29,6 +29,9 @@ public class ESignNotifyController extends HttpServlet {
@Value
(
"${esign.appKey}"
)
@Value
(
"${esign.appKey}"
)
private
String
appSecret
;
private
String
appSecret
;
@Value
(
"${yjzh-esign.appKey}"
)
private
String
yjzhAppSecret
;
@Autowired
@Autowired
private
ESignRemote
esignRemote
;
private
ESignRemote
esignRemote
;
...
@@ -50,4 +53,19 @@ public class ESignNotifyController extends HttpServlet {
...
@@ -50,4 +53,19 @@ public class ESignNotifyController extends HttpServlet {
return
Map
.
of
(
"code"
,
"200"
,
"msg"
,
"success"
);
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