mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-11 21:29:02 +08:00
feat(auth): 修改查询token的接口路径为/token/query-token
This commit is contained in:
1 parent
a233aa5b5a
commit
597123ae6d
1 file changed
+1
-1
@@ -257,7 +257,7 @@ public class PigxTokenEndpoint {
|
||||
}
|
||||
|
||||
@Inner
|
||||
@GetMapping("/query-token")
|
||||
@GetMapping("/token/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