mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-12 21:49:01 +08:00
🐛 Fixing a bug. 修复报表中检查token的问题
This commit is contained in:
1 parent
1a780fa3d4
commit
d92ae7b504
2 files changed
+11
-2
No files matched your search
@@ -224,4 +224,13 @@ public class PigTokenEndpoint {
|
||||
return R.ok(result);
|
||||
}
|
||||
|
||||
|
||||
@Inner
|
||||
@GetMapping("/query-token")
|
||||
public R queryToken(String token) {
|
||||
OAuth2Authorization authorization = authorizationService.findByToken(token,OAuth2TokenType.ACCESS_TOKEN);
|
||||
return R.ok(authorization);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user