src/main/java/com/moon/server/controller/sys/TokenController.java
@@ -43,11 +43,11 @@ if (pageSize < 1 || pageIndex < 1) { return fail("每页页数或分页数小于1", null); } int count = tokenService.selectCount(name,type); int count = tokenService.selectCount(name, type); if (count == 0) { return success(0, null); } List<TokenEntity> rs = tokenService.selectByPage(name,type, pageSize, pageSize * (pageIndex - 1)); List<TokenEntity> rs = tokenService.selectByPage(name, type, pageSize, pageSize * (pageIndex - 1)); return success(count, rs); } catch (Exception ex) { return fail(ex, null);