排行榜

This commit is contained in:
2026-01-09 17:50:39 +08:00
parent e4c73706bb
commit bd5cf6a0c5
2 changed files with 3 additions and 1 deletions

View File

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