用户列表导出接口

This commit is contained in:
gong
2026-01-28 13:47:33 +08:00
parent 25b9a5b389
commit 9e2cf024eb
12 changed files with 506 additions and 9 deletions

View File

@@ -97,6 +97,11 @@ public class ShopUserController {
return CzgResult.success(shopUserService.getPage(key, isVip, amount));
}
@GetMapping("/export")
public void exportUserList(String key, Integer isVip, HttpServletResponse response) {
shopUserService.exportUserList(key, isVip, response);
}
@GetMapping("/getPage")
public CzgResult<Page<ShopUser>> getPage(@RequestParam(required = false)String key,@RequestParam(required = false) Integer isVip) {
return CzgResult.success(shopUserService.getPage(key, isVip));