Browse Source

上下麦接口

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

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

@@ -2433,7 +2433,7 @@ class Party extends Api
             $this->error('麦上有人了');
         }
 
-        $this->redis->hGet($key,$seat_num,$userId);
+        $this->redis->hSet($key,$seat_num,$userId);
 
         //获取魅力值
         $users = $this->redis->zRevRange("hourCharm_".$party_id,0,-1,true);