lizhen_gitee 1 년 전
부모
커밋
df1978b8d7
1개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  1. 9 0
      application/api/controller/Party.php

+ 9 - 0
application/api/controller/Party.php

@@ -2333,6 +2333,15 @@ class Party extends Api
         return true;
 
     }
+
+    public function testredis(){
+        $party_id = 1;
+        $users = $this->redis->zRevRange("hourCharm_".$party_id,0,-1,true);
+        dump($users);
+        $users = $this->redis->zRange("hourCharm_".$party_id,0,-1,true);
+        dump($users);
+    }
+
     /**
      *  用户赠送礼物后房间内用户贡献值增加
      */