Commit 8b332ff2 authored by clone's avatar clone Committed by hujun

bug

parent 1f633d89
...@@ -219,10 +219,11 @@ class ChatService ...@@ -219,10 +219,11 @@ class ChatService
$where_agent["phone"] = array( "in", $agent_phone ); $where_agent["phone"] = array( "in", $agent_phone );
$where_agent["inuse"] = 1; $where_agent["inuse"] = 1;
$where_agent["level"] = array("in",[2,5]);
$agentsResult = $this->agentsModel->getAgentsById($field, $where_agent); $agentsResult = $this->agentsModel->getAgentsById($field, $where_agent);
foreach ($agentsResult as $v) { foreach ($agentsResult as $v) {
if ($v["user_pic"]) { if ($v["user_pic"]) {
$v["user_pic"] = TEST_ADMIN_URL_TL.'user_header/'. $v["user_pic"]; $v["user_pic"] = TEST_ADMIN_URL_TL.'user_header/'. $v["user_pic"];
} }
......
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