sso
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

This commit is contained in:
2025-07-22 10:13:14 +08:00
parent c9c6f229bd
commit 77b345e017
2 changed files with 6 additions and 1 deletions

View File

@@ -116,6 +116,11 @@ public class TokenController {
return R.ok(loginVo);
}
/**
* 校验token
* @param token
* @return
*/
@RequestMapping("/token/check")
public R<LoginUser> checkToken(String token) {
return R.ok(LoginHelper.getLoginUser(token));