mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 10:29:19 +08:00
refactor(api): 分页路径 /page 改为 /list,前后端同步更新
This commit is contained in:
+1
-1
@@ -63,7 +63,7 @@ public class SysFileController {
|
||||
}
|
||||
|
||||
@Operation(summary = "分页获取文件列表", description = "分页获取当前公司的文件列表,支持条件过滤")
|
||||
@PostMapping("/page")
|
||||
@PostMapping("/list")
|
||||
public ApiResponse<PageResultVO<SysFileVO>> getFilePage(@Valid @RequestBody PageQueryDTO<SysFileFilterDTO> pageQueryDTO) {
|
||||
PageResultVO<SysFileVO> result = sysFileService.getFilePage(pageQueryDTO);
|
||||
return ApiResponse.success("获取文件列表成功", result);
|
||||
|
||||
+1
-1
@@ -62,7 +62,7 @@ public class PermissionController {
|
||||
}
|
||||
|
||||
@Operation(summary = "分页获取权限列表", description = "根据条件分页获取权限列表")
|
||||
@PostMapping("/page")
|
||||
@PostMapping("/list")
|
||||
@RequirePermission(value = "system:permission:read", description = "查询权限列表", allowSuper = true)
|
||||
public ApiResponse<PageResultVO<PermissionVO>> getPermissionPage(
|
||||
@Valid @RequestBody PageQueryDTO<PermissionFilterDTO> filterDTO) {
|
||||
|
||||
+1
-1
@@ -79,7 +79,7 @@ public class UserController {
|
||||
}
|
||||
|
||||
@Operation(summary = "分页查询用户列表", description = "分页查询用户列表,支持多种过滤条件")
|
||||
@PostMapping("/page")
|
||||
@PostMapping("/list")
|
||||
@RequirePermission(value = "system:user:read", description = "查询用户列表", allowSuper = true)
|
||||
public ApiResponse<PageResultVO<UserVO>> getUserPage(
|
||||
@Valid @RequestBody PageQueryDTO<UserFilterDTO> pageQuery) {
|
||||
|
||||
Reference in New Issue
Block a user