|
|
|
@ -45,7 +45,7 @@ func GetUsersInfo(c *gin.Context) {
|
|
|
|
|
var publicUserInfoList []*open_im_sdk.PublicUserInfo
|
|
|
|
|
for _, v := range RpcResp.UserInfoList {
|
|
|
|
|
publicUserInfoList = append(publicUserInfoList,
|
|
|
|
|
&open_im_sdk.PublicUserInfo{UserID: v.UserID, Nickname: v.Nickname, FaceURL: v.FaceURL, Gender: v.Gender, AppMangerLevel: v.AppMangerLevel})
|
|
|
|
|
&open_im_sdk.PublicUserInfo{UserID: v.UserID, Nickname: v.Nickname, FaceURL: v.FaceURL, Gender: v.Gender})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
resp := api.GetUsersInfoResp{CommResp: api.CommResp{ErrCode: RpcResp.CommonResp.ErrCode, ErrMsg: RpcResp.CommonResp.ErrMsg}, UserInfoList: publicUserInfoList}
|
|
|
|
|