|
|
@@ -336,7 +336,7 @@ class HouseLogic
|
|
|
|
|
|
|
|
|
// 尝试从缓存获取排行榜数据
|
|
|
- $cacheKey = $this->cachePrefix . 'house_rank:top100';
|
|
|
+ $cacheKey = $this->cachePrefix . 'house_rank:top100-1';
|
|
|
$cachedRankList = Cache::get($cacheKey);
|
|
|
|
|
|
if (!$cachedRankList) {
|
|
|
@@ -355,7 +355,7 @@ class HouseLogic
|
|
|
'f.balance'
|
|
|
])
|
|
|
->orderBy('fu.house_level', 'desc')
|
|
|
- ->orderBy('fu.last_upgrade_time', 'asc') // 同等级按升级时间排序
|
|
|
+ ->orderBy('f.balance', 'desc') // 同等级按升级时间排序
|
|
|
->limit($maxRankLimit)
|
|
|
->get()
|
|
|
->toArray();
|