Commit daa57f37 authored by hujun's avatar hujun

清除多余推送

parent 78d9138c
......@@ -70,28 +70,6 @@ class OrderLogService
if (!empty($bill_arr)) {
$pushMarchIn = new PushMessageService($params["report_id"], 2);
$pushMarchIn->pushMarchInMessage($params["report_id"], 2); //推送
/*推送 客方,盘方,独家方,店长 start*/
$ge_tui = new GeTuiUntils();
$agent_ = new AAgents();
$report = new OReportModel();
$order = new OrderModel();
$order_agent_device = $agent_->getAgentEelationByOrderId($order_id); //独家和盘方
$report_agent_device = $report->getAgentByReportId($report_id); //客方
$name = $agent_->getAgentsById($agent_id, 'name');
$store_data = $agent_->getStoreAgentId($agent_id);//店长
$order_data = $order->getOrderById('house_title', $order_id);
$content = "恭喜【{$store_data['store_name']}】店【{$name}】成交【{$order_data['house_title']}】商铺一套";
$ge_tui->public_push_message_for_one($store_data['id'], $store_data['device_id'], '成交商铺', $content);
$ge_tui->public_push_message_for_one($report_agent_device['id'], $report_agent_device['device_id'], '成交商铺', $content);
foreach ($order_agent_device as $v) {
$ge_tui->public_push_message_for_one($v['id'], $v['device_id'], '成交商铺', $content);
}
/*推送 客方,盘方,独家方,店长 end*/
return $this->payLogModel->addPayLog($bill_arr);
}
return $father_id;
......
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