...
|
...
|
@@ -361,10 +361,8 @@ func UserInfo(header *protocol.RequestHeader, request *protocol.UserInfoRequest) |
|
|
MUserId: header.UserId,
|
|
|
Name: userBaseAgg.User.NickName,
|
|
|
Phone: userBaseAgg.User.Phone,
|
|
|
Image: protocol.Picture{
|
|
|
Image: protocol.Avatar{
|
|
|
Path: userBaseAgg.User.Icon,
|
|
|
H: 0,
|
|
|
W: 0,
|
|
|
},
|
|
|
ImToken: userBaseAgg.User.ImToken,
|
|
|
CompanyId: int(companyId),
|
...
|
...
|
@@ -475,13 +473,12 @@ func UserInfoV3(header *protocol.RequestHeader, request *protocol.UserInfoReques |
|
|
}
|
|
|
rsp = &protocol.UserInfoResponse{
|
|
|
User: protocol.User{
|
|
|
UserId: header.UserId,
|
|
|
Name: userBaseAgg.User.NickName,
|
|
|
Phone: userBaseAgg.User.Phone,
|
|
|
Image: protocol.Picture{
|
|
|
UserId: header.UserId,
|
|
|
MUserId: header.UserId,
|
|
|
Name: userBaseAgg.User.NickName,
|
|
|
Phone: userBaseAgg.User.Phone,
|
|
|
Image: protocol.Avatar{
|
|
|
Path: userBaseAgg.User.Icon,
|
|
|
H: 0,
|
|
|
W: 0,
|
|
|
},
|
|
|
ImToken: userBaseAgg.User.ImToken,
|
|
|
CompanyId: int(companyId),
|
...
|
...
|
|