用户列表导出接口
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user