Browse Source

删除用不到的返回,top3排行榜换了

lizhen_gitee 1 year ago
parent
commit
2ea7a03bff
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/api/controller/Party.php

+ 1 - 1
application/api/controller/Party.php

@@ -2271,7 +2271,7 @@ class Party extends Api
         // 获取条数
         // 获取条数
         $num = 3;
         $num = 3;
         // 获取3条财富排行日记录
         // 获取3条财富排行日记录
-        $getweek = $this->redis->zRevRange("hourCharm_".$party_info['id'],0,$num-1,true);
+        $getweek = $this->redis->zRevRange("hourWealth_".$party_info['id'],0,$num-1,true);
         $userList = $userModel->rankList($getweek);
         $userList = $userModel->rankList($getweek);
         $avatarArr = [];
         $avatarArr = [];
         if($userList) {
         if($userList) {