数据源的增删改查
parent
8acd6e7c21
commit
fcc0efb9b0
|
@ -126,7 +126,7 @@ public class DataSourceController extends BaseController {
|
|||
* @param id 数据源ID
|
||||
* @return 数据源
|
||||
*/
|
||||
@GetMapping("/getDataSourceById/{id}")
|
||||
@GetMapping("/getDataSource/{id}")
|
||||
@Operation(summary = "根据ID获取数据", description = "根据ID获取数据")
|
||||
public Result<DataSource> getDataSourceById(@PathVariable("id") Long id) {
|
||||
DataSource dataSource = dataSourceService.getById(id);
|
||||
|
|
Loading…
Reference in New Issue