mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-12 21:49:01 +08:00
✨ Introducing new features. close #3777 jimu-report 支持积木报表
This commit is contained in:
1 parent
99701cb871
commit
7e44f2081f
12 files changed
+352
-31
No files matched your search
@@ -140,4 +140,15 @@ public class PigxTokenEndpoint {
|
||||
return dealService.queryToken(page);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询token
|
||||
* @param token
|
||||
* @return
|
||||
*/
|
||||
@Inner
|
||||
@GetMapping("/query-token")
|
||||
public R queryToken(String token) {
|
||||
return dealService.queryTokenInfo(token);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -150,4 +150,9 @@ public class PigxTokenDealServiceImpl {
|
||||
return result;
|
||||
}
|
||||
|
||||
public R queryTokenInfo(String token) {
|
||||
OAuth2AccessToken oAuth2AccessToken = tokenStore.readAccessToken(token);
|
||||
return R.ok(oAuth2AccessToken);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user