Compare commits

..

No commits in common. "19b4f0447b83e996b3433a3a75f9e4ac757d718c" and "886647346762256a4f660c71e4ce2d44fa6d6503" have entirely different histories.

1 changed files with 2 additions and 2 deletions

View File

@ -2795,10 +2795,10 @@ func init() {
// 离线获取 // 离线获取
var address []string var address []string
task.New(nil, task.CallableWrapper(func(o *basic.Object) interface{} { task.New(nil, task.CallableWrapper(func(o *basic.Object) interface{} {
address, err = model.GetPlayerAddress(msg.GetPlatform(), msg.GetSnId()) address, _ = model.GetPlayerAddress(msg.GetPlatform(), msg.GetSnId())
return nil return nil
}), task.CompleteNotifyWrapper(func(data interface{}, t task.Task) { }), task.CompleteNotifyWrapper(func(data interface{}, t task.Task) {
if err != nil { if address == nil {
pack.Tag = webapiproto.TagCode_FAILED pack.Tag = webapiproto.TagCode_FAILED
pack.Msg = "获取失败" pack.Msg = "获取失败"
} else { } else {