1
Some checks failed
ci/woodpecker/push/my-first-workflow Pipeline failed

This commit is contained in:
xinian
2026-02-23 01:24:13 +08:00
committed by cnb
parent b00d81bf63
commit cb0e5b0645
2 changed files with 7 additions and 1 deletions

View File

@@ -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)
}