diff --git a/route/group_power_r/group_power.go b/route/group_power_r/group_power.go index 84ee767f4fad0c63f9d61e174ad0fa555a0bd09b..c780313ce5d7998d483bdff8466465c82f77810b 100644 --- a/route/group_power_r/group_power.go +++ b/route/group_power_r/group_power.go @@ -786,7 +786,7 @@ func GroupPowerInfo(c *gin.Context) (*mycontext.MyContext, error) { info.Role = int(myGroupPUser.Role) } else { // 是否申请了加入 - apply, err := groupPower_m.GetGroupPowerApplyJoin(model, myUserId, info.Id, -1) + apply, err := groupPower_m.GetGroupPowerApplyJoin(model, myUserId, info.Id, 0) if err != nil { return myContext, err }