Commit 06c0efac authored by hujun's avatar hujun

修改查询条件

parent 6fad3b26
...@@ -193,8 +193,9 @@ class Broker extends Basic ...@@ -193,8 +193,9 @@ class Broker extends Basic
/*处理多个手机登录聊天*/ /*处理多个手机登录聊天*/
$m_chat_ext = new ChatUserExt(); $m_chat_ext = new ChatUserExt();
$bind_where['is_forbidden'] = 0; $bind_where['is_forbidden'] = 0;
$bind_where['user_id'] = ['<>', $agents_data['id']]; $bind_where['user_id'] = $agents_data['id'];
$bind_where['type'] = 1; $bind_where['type'] = 1;
$bind_where['push_id'] = ['<>', $params["push_id"]];
$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