条件判断错误

This commit is contained in:
wh_zcy 2022-10-12 18:38:02 +08:00
parent 2bb2f2710d
commit ebc74b528e

View File

@ -27,7 +27,7 @@ func (this *apiComp) Battlerecord(session comm.IUserSession, req *pb.UserBattler
if b, y := iPagoda.(comm.IPagoda); y {
dr := b.CheckUserBasePagodaInfo(session.GetUserId())
if dr == nil {
if dr != nil {
rsp.PagodaRecord = dr
}
}