Commit 7d0f9538 authored by hujun's avatar hujun

order_id

parent 58a63437
......@@ -84,7 +84,7 @@ class PushMessageService
{
$report = new OReportModel();
$field = 'house_title,user_name,report_store_id,report_agent_id,a.user_id,b.house_id';
$field = 'house_title,user_name,report_store_id,report_agent_id,a.user_id,b.house_id,b.id as order_id';
$report_data = $report->getReportOrder($field, [ 'a.id' => $report_id ]);
$agent = new AAgents();
......@@ -122,6 +122,7 @@ class PushMessageService
}
$agent_id[] = $report_data['report_agent_id'];
$data['order_id'] = $report_data['order_id'];
$this->record($push_type, 0, $agent_id, $operation_id, $data);
// $this->pushAgentAllDeviceId($report_data['report_agent_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