Commit 581c481b by guojuxing

获取登录用户信息

parent 1e1f9191
......@@ -115,6 +115,11 @@ public class LoginController {
return RestResponse.success();
}
@RequestMapping("get-login-user-info")
public RestResponse getLoginUserINfo(){
return RestResponse.success(UserDetailUtils.getUserDetail().getUserInfo());
}
@RequestMapping("logout")
public RestResponse logout(){
UserDetailUtils.destory();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment