|
|
@@ -70,13 +70,14 @@ public class UserCertController {
|
|
|
/**
|
|
|
* 用户微信H5认证结果查询
|
|
|
*/
|
|
|
- @PostMapping("/auth/result/{mappingId}")
|
|
|
+ @GetMapping("/auth/result/{mappingId}")
|
|
|
public void wxH5IndentCertAuthResult(@PathVariable String mappingId, HttpServletResponse response) throws Exception {
|
|
|
String redirectParams = redisService.getStr(mappingId);
|
|
|
if (StrUtil.isNotBlank(redirectParams)) {
|
|
|
UserWxIndentDto userWxIndentDto = Jsons.parseObject(redirectParams, UserWxIndentDto.class);
|
|
|
userIdentCertService.wxH5IndentCertResult(userWxIndentDto);
|
|
|
String url = userWxIndentDto.getRedirectUrl();
|
|
|
+ redisService.del(mappingId);
|
|
|
response.sendRedirect(url);
|
|
|
}
|
|
|
}
|