修复bug

This commit is contained in:
qaq
2025-08-06 15:00:39 +08:00
parent 496e00ec2a
commit b567628700
26 changed files with 258 additions and 180 deletions
@@ -40,12 +40,8 @@ public class UserController extends BaseController {
@LogAnnotation
@RequireRole
@PostMapping("/list")
public R readAll(@RequestBody(required = false) PageDto pageDto) {
// 如果没有传分页参数,使用默认值
if (pageDto == null) {
pageDto = new PageDto();
}
return userService.getAllUsers(pageDto);
public R readAll() {
return userService.getAllUsers();
}
@LogAnnotation