Commit 796dcbf8 authored by hujun's avatar hujun

array_unique

parent c30f932b
...@@ -124,6 +124,7 @@ class PushMessageService ...@@ -124,6 +124,7 @@ class PushMessageService
$agent_id[] = $report_data['report_agent_id']; $agent_id[] = $report_data['report_agent_id'];
$data['order_id'] = $report_data['order_id']; $data['order_id'] = $report_data['order_id'];
$data['house_id'] = $report_data['house_id']; $data['house_id'] = $report_data['house_id'];
$agent_id = array_unique($agent_id);
$this->record($push_type, 0, $agent_id, $operation_id, $data); $this->record($push_type, 0, $agent_id, $operation_id, $data);
// $this->pushAgentAllDeviceId($report_data['report_agent_id'], $title, $content); // $this->pushAgentAllDeviceId($report_data['report_agent_id'], $title, $content);
// $this->pushAgentAllDeviceId($agent_store['id'], $title, $content); // $this->pushAgentAllDeviceId($agent_store['id'], $title, $content);
......
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