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