Commit 9ef41d0e authored by chenweijian's avatar chenweijian

家族

parent b5ecdacc
......@@ -1419,6 +1419,10 @@ func GroupPowerSetInfo(c *gin.Context) (*mycontext.MyContext, error) {
if info.Icon != "" {
info.Icon = common.MakeFullUrl(info.Icon)
}
// 我在该家族中的角色
if myGroupPUser != nil && myGroupPUser.GroupPowerId == info.Id {
info.Role = int(myGroupPUser.Role)
}
resp.ResponseOk(c, info)
return myContext, nil
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment