Commit cf315642 authored by hujun's avatar hujun

记录喜报

parent fd42b17b
......@@ -208,7 +208,7 @@ class OrderLogService
$push_message = new PushMessageService();
//todo 0923 经理提的问题
// $push_message->pushBargainMessage($report_id); //推送
$push_message->pushBargainMessage($report_id); //推送
}
//todo if bill_arr not null, save database table
......
......@@ -139,11 +139,11 @@ class PushMessageService
'read_num' => 10, //不要问什么,就是产品要加的。PV
'click_num' => 10 //不要问什么,就是产品要加的。
]);
$content = "恭喜【{$store_name}】店【{$report_data['report_agent_name']}】成交【{$report_data['house_title']}】商铺一套";
$url = $this->push->http_host() . '/app/dist/index.html#/feeds?id=' . $feed->id;
$feed->editData([ 'link' => $url ], $feed->id);
// $content = "恭喜【{$store_name}】店【{$report_data['report_agent_name']}】成交【{$report_data['house_title']}】商铺一套";
// $url = $this->push->http_host() . '/app/dist/index.html#/feeds?id=' . $feed->id;
// $feed->editData([ 'link' => $url ], $feed->id);
$this->push->push_message_for_all($title, $content, $url);
// $this->push->push_message_for_all($title, $content, $url);
return;
}
......
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