feat:统计
This commit is contained in:
1 parent
caafb3762d
commit
4b0d73cad8
1 file changed
+3
-2
+3
-2
@@ -52,6 +52,7 @@ import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.security.SecurityRequirement;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.annotation.PostConstruct;
|
||||
import jakarta.validation.Valid;
|
||||
import lombok.AllArgsConstructor;
|
||||
|
||||
@@ -249,8 +250,8 @@ public class SysUserController {
|
||||
/**
|
||||
* 分页查询用户
|
||||
*/
|
||||
@GetMapping("/page")
|
||||
public R getUserPage(@ParameterObject Page page, @ParameterObject UserDTO userDTO) {
|
||||
@PostMapping("/page")
|
||||
public R getUserPage(@ParameterObject Page page, @RequestBody UserDTO userDTO) {
|
||||
userDTO.setIsFindCheckUser(true);
|
||||
return R.ok(userService.getUsersWithRolePage(page, userDTO));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user