新增oauth2接口
This commit is contained in:
parent
1308a27230
commit
b042d2ae79
@ -116,6 +116,14 @@ public interface IOAuth2ClientService {
|
||||
*/
|
||||
List<OAuth2ClientSimpleDTO> listSimple();
|
||||
|
||||
/**
|
||||
* Oauth客户端列表(简单)
|
||||
*
|
||||
* @param environment
|
||||
* @return
|
||||
*/
|
||||
List<OAuth2ClientSimpleDTO> listSimpleByEnvironment(String environment);
|
||||
|
||||
/**
|
||||
* Oauth客户端列表(简单)
|
||||
*
|
||||
|
@ -123,6 +123,13 @@ public class OAuth2ClientServiceImpl extends DefaultBaseService implements IOAut
|
||||
return listSimple(params);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<OAuth2ClientSimpleDTO> listSimpleByEnvironment(String environment) {
|
||||
Map<String, Object> params = getHashMap(2);
|
||||
params.put("environment", environment);
|
||||
return listSimple(params);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<OAuth2ClientSimpleDTO> listSimpleByMenuIds(List<String> menuIds) {
|
||||
Map<String, Object> params = getHashMap(2);
|
||||
|
Loading…
Reference in New Issue
Block a user