fix 每日剩余挑战次数为count

This commit is contained in:
luying
2020-12-30 14:55:50 +08:00
parent f8920f6e21
commit 552534b585
2 changed files with 1 additions and 3 deletions
@@ -72,5 +72,5 @@ export async function getDailyNum(dailyRecord: DailyRecord, timesPerDay?: number
if(vLv > 0) {
timesCanBuy += 0; // 暂留,用于处理vip等级增加最大购买次数
}
return {battleCount: timesPerDay - count + buyCount, buyCount: timesCanBuy - buyCount}
return {count: timesPerDay - count + buyCount, buyCount: timesCanBuy - buyCount}
}