forked from github/dataease
refactor: Api文档整理
This commit is contained in:
parent
e41295c36b
commit
44978fad4f
@ -162,6 +162,7 @@ public class XAuthServer {
|
||||
}
|
||||
|
||||
@GetMapping("/getDatasourceTypes")
|
||||
@ApiOperation("查询授权的数据类型")
|
||||
public List<DatasourceBaseType> getDatasourceTypes() {
|
||||
Collection<DataSourceType> activeType = datasourceService.types();
|
||||
Map<String, String> activeTypeMap = activeType.stream().collect(Collectors.toMap(DataSourceType::getType, DataSourceType::getName));
|
||||
|
Loading…
Reference in New Issue
Block a user