diff --git a/route/group_r/group_op.go b/route/group_r/group_op.go index 190e84cc693ddbb6b7b2076da730ba7774724c68..f74a21c6f6acac391dadf836bc6edf8eec808204 100644 --- a/route/group_r/group_op.go +++ b/route/group_r/group_op.go @@ -448,7 +448,7 @@ func GetGroupDetail(c *gin.Context) (*mycontext.MyContext, error) { result.Role = group_e.GROUP_MEMBER } - groupUser := group_m.GroupUser{Model: model, UserId: userId} + groupUser := group_m.GroupUser{Model: model, UserId: userId, GroupId: groupId} msgStatus, err := groupUser.Get() if err != nil { return myContext, err