Commit 2c4b24a3 authored by dongyu's avatar dongyu

退出登录修改

parent b53c1a6e
......@@ -174,8 +174,9 @@ public class UserController {
*@return:
*/
@GetMapping("/logOut")
public void logOut(){
public AjaxResult logOut(){
tokenService.resetPwd(getLoginUser().getUserId());
return AjaxResult.success();
}
......
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