121212133
This commit is contained in:
@@ -30,7 +30,11 @@ public class RankController : ControllerBase
|
||||
RefAsync<int> total = 0;
|
||||
string upTime = $"更新时间:{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}";
|
||||
int area = StateHelper.areaId;
|
||||
if (type is >= 0 and < 8)
|
||||
if (type == 0)
|
||||
{
|
||||
data = await _rankService.GetGameLevRank(area, page, 10, total);
|
||||
}
|
||||
else if (type is >= 1 and < 8)
|
||||
{
|
||||
data = await _rankService.GetGameRank(type, area, page, 10, total);
|
||||
upTime = await _rankService.GetRankUpdateTime();
|
||||
|
||||
Reference in New Issue
Block a user