Commit 619eb270 by 段启岩

添加心跳接口

parent 4423ebde
......@@ -451,6 +451,13 @@ public class UserApi {
userService.logout();
return Response.success();
}
@ApiOperation(("保活心跳接口"))
@GetMapping("/user/keepAlive")
public Response<?> keepAlive(){
log.info("收到{}的心跳消息!", SubjectUtils.getSubject());
return Response.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