Commit d8fec578 authored by hujun's avatar hujun

[]

parent 58fde4b7
...@@ -106,7 +106,7 @@ class PushMessageService ...@@ -106,7 +106,7 @@ class PushMessageService
$client_agent = $this->getUserAgent($report_data['user_id'], $site_id); $client_agent = $this->getUserAgent($report_data['user_id'], $site_id);
if (!empty($client_agent)) { if (!empty($client_agent)) {
$agent_id[] = $client_agent; //客方 $agent_id = $client_agent; //客方
} }
$agent_house = new GHousesToAgents(); $agent_house = new GHousesToAgents();
......
...@@ -74,8 +74,7 @@ class UserAgentModel extends Model ...@@ -74,8 +74,7 @@ class UserAgentModel extends Model
*/ */
public function getUserAgentColumn($field, $params) { public function getUserAgentColumn($field, $params) {
$params['is_del'] = 0; $params['is_del'] = 0;
return $this->db_->field($field) return $this->db_->where($params)
->where($params)
->column($field); ->column($field);
} }
......
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