|
|
@@ -28,7 +28,7 @@ class ChatController extends BaseController
|
|
|
$clientId = isset($post['clientId']) ? $post['clientId'] : '';
|
|
|
$userId = $this->userId;
|
|
|
Gateway::$registerAddress = '127.0.0.1:1238';
|
|
|
- Gateway::bindUid($client_id, $userId);
|
|
|
+ Gateway::bindUid($clientId, $userId);
|
|
|
}
|
|
|
|
|
|
//发消息 shish 2019.12.28
|