|
@@ -121,6 +121,7 @@ func UserManagementGetUserList(c *gin.Context) { |
|
|
Phone: user.Phone, |
|
|
Phone: user.Phone, |
|
|
IsRealName: user.IsRealName, |
|
|
IsRealName: user.IsRealName, |
|
|
InviteCode: user.SystemInviteCode, |
|
|
InviteCode: user.SystemInviteCode, |
|
|
|
|
|
CustomInviteCode: user.CustomInviteCode, |
|
|
ParentID: user.ParentUid, |
|
|
ParentID: user.ParentUid, |
|
|
ParentInviteCode: user.ParentSystemInviteCode, |
|
|
ParentInviteCode: user.ParentSystemInviteCode, |
|
|
ParentPhone: user.ParentPhone, |
|
|
ParentPhone: user.ParentPhone, |
|
@@ -131,9 +132,6 @@ func UserManagementGetUserList(c *gin.Context) { |
|
|
State: user.State, |
|
|
State: user.State, |
|
|
LastLoginAt: user.UpdateAt, |
|
|
LastLoginAt: user.UpdateAt, |
|
|
} |
|
|
} |
|
|
if user.CustomInviteCode != "" { |
|
|
|
|
|
list[i].InviteCode = user.CustomInviteCode |
|
|
|
|
|
} |
|
|
|
|
|
if user.ParentCustomInviteCode != "" { |
|
|
if user.ParentCustomInviteCode != "" { |
|
|
list[i].ParentInviteCode = user.ParentCustomInviteCode |
|
|
list[i].ParentInviteCode = user.ParentCustomInviteCode |
|
|
} |
|
|
} |
|
|