Commit 9ba497e3 authored by hujun's avatar hujun

聊天去重复设备

parent 89a731fa
......@@ -87,6 +87,10 @@ class ChatUserExt extends BaseModel
$where_['a.device_id'] = $params['device_id'];
}
if (isset($params['is_forbidden'])) {
$where_['a.is_forbidden'] = $params['is_forbidden'];
}
$data = $this->db->field($field)
->alias("a")
->join("chat_user b", "a.ext_id = b.id", "right")
......
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