实现身份认证功能

This commit is contained in:
qitz
2023-10-03 13:40:56 +08:00
parent 7e8d1f3d06
commit 3a8b23f482
6 changed files with 125 additions and 13 deletions
@@ -28,6 +28,20 @@ public class IdentityAuthenticationController extends BaseController {
return success(ientityAuthentication);
}
/**
* 查询身份认证结果
*/
@PostMapping("/selectIdentityAuthenticaRespon")
public AjaxResult selectIdentityAuthenticaRespon(@Validated @RequestBody IdentityAuthentication ientityAuthentication)
{
String username = this.getUsername();
Long userId = this.getUserId();
ientityAuthentication.setUserId(userId);
ientityAuthentication.setUserName(username);
IdentityAuthentication ientityAuthenticationRes = identityAuthenticationService.selectIdentityAuthenticaRespon( ientityAuthentication);
return success(ientityAuthenticationRes);
}