上传共鸣水晶代码

This commit is contained in:
liwei 2023-07-10 17:32:24 +08:00
parent 16cb8c7108
commit 82dfe43457

View File

@ -79,7 +79,7 @@ func (this *Passon) HeroUpLv(uid string, heroid string, lv int32) {
heros = this.ModuleHero.GetHeroList(uid)
// 使用sort.Slice进行排序
sort.Slice(heros, func(i, j int) bool {
return heros[i].Lv < heros[j].Lv
return heros[i].Lv > heros[j].Lv
})
if len(heros) < 5 {