百宝商会文字错乱修改

dev_chengFeng
jiaoyangna 2021-07-07 11:30:21 +08:00
parent 7aa590621c
commit fd9f4248b6
1 changed files with 1 additions and 7 deletions

View File

@ -170,13 +170,7 @@ function this.SortData(allData)
return
end
table.sort(allData, function(a,b)
-- local aboughtNum = a.Limit - OperatingManager.GetGoodsBuyTime(GoodsTypeDef.DirectPurchaseGift, a.Id) > 0 and 2 or 1
-- local bboughtNum = b.Limit - OperatingManager.GetGoodsBuyTime(GoodsTypeDef.DirectPurchaseGift, b.Id) > 0 and 2 or 1
-- if aboughtNum == bboughtNum then
return a.Id < b.Id
-- else
-- return aboughtNum > bboughtNum
-- end
return a.Sort < b.Sort
end)
return allData
end