排行榜

This commit is contained in:
2026-01-09 17:54:37 +08:00
parent 155a66d84c
commit ffb073bf92

View File

@@ -470,6 +470,7 @@ class GiveGiftBase extends Model
*/
public function getGiftStatisticsRanking($where = [], $options = [])
{
var_dump(1231);
$defaultOptions = [
'group_by' => null, // 分组字段
'start_time' => null,
@@ -532,7 +533,7 @@ class GiveGiftBase extends Model
}
$unionSql .= "(" . $sql . ")";
}
var_dump(1231);
var_dump($unionSql);exit;
// 最终统计
if ($options['group_by']) {