比赛场每日库存BUG修改
This commit is contained in:
parent
bc4c7c11aa
commit
fb3d73f61f
|
|
@ -240,10 +240,12 @@ func (this *Tournament) UpdateData(init bool, data *webapiproto.GameMatchDateLis
|
||||||
}
|
}
|
||||||
this.GameMatchDateList[data.Platform] = configs
|
this.GameMatchDateList[data.Platform] = configs
|
||||||
//拉取数据
|
//拉取数据
|
||||||
ret, err := model.GetMatchAwardLog(data.Platform)
|
if this.MatchAwardNum == nil {
|
||||||
logger.Logger.Tracef("ret = %v,err = %v", ret, err)
|
ret, err := model.GetMatchAwardLog(data.Platform)
|
||||||
if err == nil {
|
logger.Logger.Tracef("ret = %v,err = %v", ret, err)
|
||||||
this.MatchAwardNum = ret.AwardNum
|
if err == nil {
|
||||||
|
this.MatchAwardNum = ret.AwardNum
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// 通知平台玩家数据更新
|
// 通知平台玩家数据更新
|
||||||
if !init {
|
if !init {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue