Commit 1851c124 authored by hujun's avatar hujun

1

parent daf4b663
...@@ -71,7 +71,8 @@ class ChatUser extends Model ...@@ -71,7 +71,8 @@ class ChatUser extends Model
$whereOr_["only_id"] = $params["only_id_or"]; $whereOr_["only_id"] = $params["only_id_or"];
} }
$data = $this->db->field($field) $data = $this->db->field($field)
->where($params) ->where($where_)
->whereOr($whereOr_)
->select(); ->select();
return $data; return $data;
} }
......
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