房间排行榜

This commit is contained in:
2026-01-16 14:56:01 +08:00
parent 50a7226864
commit b8b935c8b2
3 changed files with 65 additions and 32 deletions

View File

@@ -539,7 +539,7 @@ class GiveGiftBase extends Model
SUM(total_price) * 10 as total
FROM ({$unionSql}) as tmp
GROUP BY {$options['group_by']}
ORDER BY total_price";
ORDER BY total desc";
} else {
$finalSql = "SELECT SUM(total_number) as total_number,
SUM(total_price) as total,