排行榜

This commit is contained in:
2026-01-09 17:52:02 +08:00
parent 598dd3c471
commit c9b1d4c541
2 changed files with 2 additions and 3 deletions

View File

@@ -374,7 +374,7 @@ class GiveGiftBases extends Model
$options['group_by'] = 'user_id';
var_dump(1231);
// 查询数据
$result = $this->giftModel->getGiftStatisticsRanking($where, $options);

View File

@@ -40,7 +40,6 @@ class Ranking extends Model
//财富、魅力榜
public function ranking($ranking_type)
{
$where['a.createtime'] = ['between', [$this->begin_time, $this->end_time]];
$my_ranking = db::name('user')
@@ -54,7 +53,7 @@ class Ranking extends Model
if($ranking_type == 1){//1财富榜2魅力榜
$params['start_time']=$this->begin_time;
$params['end_time']=$this->end_time;
var_dump(123);
$lists = model('GiveGiftBases')->getGiftRanking($params);
var_dump($lists);exit;
if($lists){