Commit 74df9aed authored by chenweijian's avatar chenweijian

家族审核

parent 8b7ace62
......@@ -1091,7 +1091,11 @@ func GroupPowerApplyList(c *gin.Context) (*mycontext.MyContext, error) {
result := make([]*group_power_cv.FamilyApplyList, 0, len(rows))
for _, v := range rows {
result = append(result, &group_power_cv.FamilyApplyList{User: userMap[v.UserId], Time: v.CreatedTime, Status: v.IsAccept, MgrName: userMap[v.MgrId].Nick})
info := &group_power_cv.FamilyApplyList{User: userMap[v.UserId], Time: v.CreatedTime, Status: v.IsAccept}
if v.MgrId > 0 {
info.MgrName = userMap[v.MgrId].Nick
}
result = append(result, info)
}
resp.ResponsePageBaseOk(c, result, nextPageIndex, hasNextPage)
......
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