From 766a0a8d2cbcda36bd99c7e365c2e98ac6128d87 Mon Sep 17 00:00:00 2001 From: chenweijian <820961417@qq.com> Date: Mon, 20 Mar 2023 14:19:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B4=BB=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- route/group_power_r/group_power.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/route/group_power_r/group_power.go b/route/group_power_r/group_power.go index df51f6d..6378260 100644 --- a/route/group_power_r/group_power.go +++ b/route/group_power_r/group_power.go @@ -1225,6 +1225,9 @@ func GroupPowerQuitList(c *gin.Context) (*mycontext.MyContext, error) { if err != nil { return myContext, err } + if pageIndex == 1 { + pageIndex = 0 + } model := domain.CreateModelContext(myContext) // 判断是否加入了家族 -- 2.22.0