Commit 962d0453 authored by hujun's avatar hujun

追加评论经纪人

parent 55efd415
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
namespace app\api_broker\service; namespace app\api_broker\service;
use app\api\service\PushClientService;
use app\api\untils\GeTuiUtils; use app\api\untils\GeTuiUtils;
use app\model\AAgents; use app\model\AAgents;
use app\model\ABindingDevice; use app\model\ABindingDevice;
...@@ -77,11 +78,12 @@ class PushMessageService ...@@ -77,11 +78,12 @@ class PushMessageService
* @param $report_id * @param $report_id
* @param $type * @param $type
* @param $operation_id * @param $operation_id
* @param $type_source
* @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException * @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException * @throws \think\exception\DbException
*/ */
public function pushMarchInMessage($report_id, $type, $operation_id) public function pushMarchInMessage($report_id, $type, $operation_id, $type_source = 0)
{ {
$report = new OReportModel(); $report = new OReportModel();
...@@ -130,6 +132,12 @@ class PushMessageService ...@@ -130,6 +132,12 @@ class PushMessageService
$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);
//意向金推送
if ($type_source == 10) {
$push = new PushClientService();
$push->record($report_id, $report_data['order_id'], 0, '追加评论经纪人', $operation_id, $report_data['user_id']);
}
return; 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