提交 7ddffcd9 编写于 作者: H haoxr

refactor: 删除无用代码

上级 107247dc
......@@ -22,7 +22,6 @@ import io.swagger.annotations.ApiParam;
import lombok.RequiredArgsConstructor;
import org.simpleframework.xml.core.Validate;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.util.StopWatch;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
......@@ -51,11 +50,7 @@ public class SysUserController {
@ApiOperation(value = "用户分页列表")
@GetMapping("/pages")
public PageResult<UserVO> listUserPages(UserPageQuery queryParams) {
StopWatch stopWatch = new StopWatch();
stopWatch.start();
IPage<UserVO> result = userService.listUserPages(queryParams);
stopWatch.stop();
System.out.println("耗时:" + stopWatch.getTotalTimeMillis());
return PageResult.success(result);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册