Commit 6fad3b26 authored by hujun's avatar hujun

1

parent 9ba497e3
...@@ -192,9 +192,9 @@ class Broker extends Basic ...@@ -192,9 +192,9 @@ class Broker extends Basic
/*处理多个手机登录聊天*/ /*处理多个手机登录聊天*/
$m_chat_ext = new ChatUserExt(); $m_chat_ext = new ChatUserExt();
$bind_where['push_id'] = $params["push_id"]; $bind_where['is_forbidden'] = 0;
$bind_where['device_id'] = $params["device_id"];
$bind_where['user_id'] = ['<>', $agents_data['id']]; $bind_where['user_id'] = ['<>', $agents_data['id']];
$bind_where['type'] = 1;
$del_bind_id = $m_chat_ext->getChatUserExtByUserId($bind_where, 'a.id', 100); $del_bind_id = $m_chat_ext->getChatUserExtByUserId($bind_where, 'a.id', 100);
if (count($del_bind_id) > 0) { if (count($del_bind_id) > 0) {
foreach ($del_bind_id as $v) { foreach ($del_bind_id as $v) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment