diff --git a/renren-admin/src/main/java/io/renren/modules/sys/controller/SysUserController.java b/renren-admin/src/main/java/io/renren/modules/sys/controller/SysUserController.java index b3b3b65e..dfaa4fb5 100644 --- a/renren-admin/src/main/java/io/renren/modules/sys/controller/SysUserController.java +++ b/renren-admin/src/main/java/io/renren/modules/sys/controller/SysUserController.java @@ -167,8 +167,8 @@ public class SysUserController { // @RequiresPermissions("sys:user:export") @ApiImplicitParam(name = "username", value = "用户名", paramType = "query", dataType = "String") public void export(@ApiIgnore @RequestParam Map params, HttpServletResponse response) throws Exception { - List list = sysUserService.list(params); params.put("export", true); + List list = sysUserService.list(params); ExcelUtils.exportExcelToTarget(response, null, "用户管理", list, SysUserExcel.class); }