modify user-groups query limit

This commit is contained in:
UlricQin 2022-02-11 13:05:20 +08:00
parent bd762172d4
commit d31fe9cb71
1 changed files with 1 additions and 3 deletions

View File

@ -18,10 +18,8 @@ func checkBusiGroupPerm(c *gin.Context) {
ginx.NewRender(c).Data(can, err)
}
// Return all, front-end search and paging
// I'm creator or member
func userGroupGets(c *gin.Context) {
limit := ginx.QueryInt(c, "limit", defaultLimit)
limit := ginx.QueryInt(c, "limit", 1500)
query := ginx.QueryStr(c, "query", "")
me := c.MustGet("user").(*models.User)