This commit is contained in:
liwei1dao 2024-02-04 11:57:35 +08:00
commit 2ebe665d67
2 changed files with 2 additions and 5 deletions

View File

@ -172,6 +172,8 @@ func (this *apiComp) sendRankReward(data map[string]int32) (err error) {
for i := v.ScoreLow; i <= v.ScoreUp; i++ {
if int32(len(uid)) > i-1 { // 越界校验
sz = append(sz, uid[i-1])
} else {
break
}
}
if len(sz) == 0 { // 过滤

View File

@ -39,7 +39,6 @@ func (this *configureComp) getGamePlunderData() (result []*cfg.GamePlunderData,
if v, err = this.GetConfigure(game_plunder); err == nil {
if configure, ok := v.(*cfg.GamePlunder); ok {
result = configure.GetDataList()
}
}
return
@ -75,10 +74,6 @@ func (this *configureComp) getGamePlunderBattleById(id int32) (result *cfg.GameP
err = comm.NewNotFoundConfErr(string(this.module.GetType()), game_plunderbattle, id)
return
}
func (this *configureComp) getGameMonkeyRewardData(chapterid int32) (result []*cfg.GameMonkeyRewardData, err error) {
return
}
// 获取航海术相关
func (this *configureComp) getPlunderDevelopById(id int32) (result *cfg.GamePlunderDevelopData, err error) {