This commit is contained in:
@@ -19,6 +19,10 @@ func (h Controller) GetUserSimInfo(data *user.SimUserInfoInboundInfo, player *pl
|
||||
if ok {
|
||||
copier.Copy(result, t)
|
||||
} else {
|
||||
r := player.Service.Info.Person(data.UserId)
|
||||
if r == nil {
|
||||
return nil, errorcode.ErrorCode(errorcode.ErrorCodes.ErrSystemError)
|
||||
}
|
||||
copier.Copy(result, player.Service.Info.Person(data.UserId).Data)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user