记录所有首次获的英雄的数据
This commit is contained in:
parent
266520c5a0
commit
d1a176cfcf
@ -138,7 +138,7 @@ func (this *modelMail) checkReddot26(uid string) bool {
|
||||
return false
|
||||
}
|
||||
for _, v := range mailinfo {
|
||||
if v.Reward && len(v.Items) > 0 {
|
||||
if !v.Reward && len(v.Items) > 0 {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
@ -23,8 +23,10 @@ func (this *apiComp) GetTujian(session comm.IUserSession, req *pb.UserGetTujianR
|
||||
this.module.Error("玩家扩展数据", log.Fields{"uid": uid, "err": err.Error()})
|
||||
return
|
||||
} else {
|
||||
for k := range result.Tujian {
|
||||
rsp.Heroids = append(rsp.Heroids, k)
|
||||
for k, v := range result.Tujian {
|
||||
if v == 0 {
|
||||
rsp.Heroids = append(rsp.Heroids, k)
|
||||
}
|
||||
}
|
||||
}
|
||||
err := session.SendMsg(string(this.module.GetType()), UserGetTujianResp, rsp)
|
||||
|
Loading…
Reference in New Issue
Block a user