|
|
|
@ -248,8 +248,12 @@ func GetBlockUserById(userId string) (BlockUserInfo, error) {
|
|
|
|
|
return blockUserInfo, err
|
|
|
|
|
}
|
|
|
|
|
blockUserInfo.User.UserID = user.UserID
|
|
|
|
|
blockUserInfo.User.FaceURL = user.UserID
|
|
|
|
|
blockUserInfo.User.FaceURL = user.FaceURL
|
|
|
|
|
blockUserInfo.User.Nickname = user.Nickname
|
|
|
|
|
blockUserInfo.User.Birth = user.Birth
|
|
|
|
|
blockUserInfo.User.PhoneNumber = user.PhoneNumber
|
|
|
|
|
blockUserInfo.User.Email = user.Email
|
|
|
|
|
blockUserInfo.User.Gender = user.Gender
|
|
|
|
|
blockUserInfo.BeginDisableTime = blockUser.BeginDisableTime
|
|
|
|
|
blockUserInfo.EndDisableTime = blockUser.EndDisableTime
|
|
|
|
|
return blockUserInfo, nil
|
|
|
|
@ -274,6 +278,10 @@ func GetBlockUsers(showNumber, pageNumber int32) ([]BlockUserInfo, error) {
|
|
|
|
|
UserID: user.UserID,
|
|
|
|
|
Nickname: user.Nickname,
|
|
|
|
|
FaceURL: user.FaceURL,
|
|
|
|
|
Birth: user.Birth,
|
|
|
|
|
PhoneNumber: user.PhoneNumber,
|
|
|
|
|
Email: user.Email,
|
|
|
|
|
Gender: user.Gender,
|
|
|
|
|
},
|
|
|
|
|
BeginDisableTime: blockUser.BeginDisableTime,
|
|
|
|
|
EndDisableTime: blockUser.EndDisableTime,
|
|
|
|
|