Gateway::getClientInfoByGroup 该方法无法获取用户列表所对应的client_id

ces0135

今天在做项目的时候想获取房间用户列表的client_id 值,到Events.php 中于是就打印了值

 $clients_list = Gateway::getClientInfoByGroup($_SESSION);
var_dump($clients_list);
array(1) {
  =>
  array(2) {
    =>
    string(4) "1001"
    =>
    string(7) "ces0135"
  }
}
3967 3 0
3个回答

ces0135

array(2) {
=>
array(2) {
=>
string(4) "1001"
=>
string(10) "娓稿ykwa"
}
=>
array(2) {
=>
string(4) "1001"
=>
string(10) "娓稿Btoy"
}
}

  • 暂无评论
ces0135

client_id 每个用户的居然都是一样的

  • 暂无评论
damao

c0a8015d08fe00000007
c0a8015d08ff00000007

这两个不一样吧,差个字符

  • 暂无评论
年代过于久远,无法发表回答
🔝