mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-23 05:00:23 +08:00
🐛 Fixing a bug. closed #I44K4D【客户端管理】校验逻辑问题
This commit is contained in:
parent
9fcf06d030
commit
d879b41461
@ -50,11 +50,11 @@ public class OauthClientDetailsController {
|
|||||||
* @param id clientId
|
* @param id clientId
|
||||||
* @return SysOauthClientDetails
|
* @return SysOauthClientDetails
|
||||||
*/
|
*/
|
||||||
@GetMapping("/{id}")
|
@GetMapping("/{clientId}")
|
||||||
public R getById(@PathVariable String id) {
|
public R getByClientId(@PathVariable String clientId) {
|
||||||
return R.ok(sysOauthClientDetailsService.getById(id));
|
return R.ok(sysOauthClientDetailsService
|
||||||
|
.list(Wrappers.<SysOauthClientDetails>lambdaQuery().eq(SysOauthClientDetails::getClientId, clientId)));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 简单分页查询
|
* 简单分页查询
|
||||||
* @param page 分页对象
|
* @param page 分页对象
|
||||||
|
Loading…
Reference in New Issue
Block a user