|
@ -108,7 +108,7 @@ public class ConfigController { |
|
|
|
|
|
|
|
|
@GetMapping("/page") |
|
|
@GetMapping("/page") |
|
|
@Operation(summary = "获取参数配置分页") |
|
|
@Operation(summary = "获取参数配置分页") |
|
|
@PreAuthorize("@ss.hasPermission('infra:config:query')") |
|
|
// @PreAuthorize("@ss.hasPermission('infra:config:query')")
|
|
|
public CommonResult<PageResult<ConfigRespVO>> getConfigPage(@Valid ConfigPageReqVO reqVO) { |
|
|
public CommonResult<PageResult<ConfigRespVO>> getConfigPage(@Valid ConfigPageReqVO reqVO) { |
|
|
PageResult<ConfigDO> page = configService.getConfigPage(reqVO); |
|
|
PageResult<ConfigDO> page = configService.getConfigPage(reqVO); |
|
|
return success(ConfigConvert.INSTANCE.convertPage(page)); |
|
|
return success(ConfigConvert.INSTANCE.convertPage(page)); |
|
|