Commit 39a2ff35 by 崔彦峰

Merge branch 'v5.5.4_20260128' into 'master'

上线合并

See merge request !2
2 parents 9597d772 f51ffb4d
...@@ -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>
......
...@@ -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");
}
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!