条件判断错误
This commit is contained in:
parent
2bb2f2710d
commit
ebc74b528e
@ -27,7 +27,7 @@ func (this *apiComp) Battlerecord(session comm.IUserSession, req *pb.UserBattler
|
|||||||
|
|
||||||
if b, y := iPagoda.(comm.IPagoda); y {
|
if b, y := iPagoda.(comm.IPagoda); y {
|
||||||
dr := b.CheckUserBasePagodaInfo(session.GetUserId())
|
dr := b.CheckUserBasePagodaInfo(session.GetUserId())
|
||||||
if dr == nil {
|
if dr != nil {
|
||||||
rsp.PagodaRecord = dr
|
rsp.PagodaRecord = dr
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user