Commit 9f6f01e0 authored by hujun's avatar hujun

other_id

parent 6c4c92ca
...@@ -33,7 +33,7 @@ class PushClientService ...@@ -33,7 +33,7 @@ class PushClientService
* @param int $operation_id * @param int $operation_id
* @return bool * @return bool
*/ */
public function record(int $report_id, int $order_id, int $type, $message,int $operation_id, $addressee_id = 0) public function record(int $report_id, int $order_id, int $type, $message,int $operation_id, $addressee_id = 0, $other_id = 0)
{ {
$order = new OrderModel(); $order = new OrderModel();
...@@ -54,6 +54,9 @@ class PushClientService ...@@ -54,6 +54,9 @@ class PushClientService
$data['order_id'] = $order_id; $data['order_id'] = $order_id;
$data['house_id'] = $house_id; $data['house_id'] = $house_id;
$data['user_id'] = $user_id; $data['user_id'] = $user_id;
if ($other_id) {
$data['other_id'] = $other_id;
}
return $this->m_push->addData($data, $operation_id, $type); return $this->m_push->addData($data, $operation_id, $type);
} }
......
...@@ -88,7 +88,7 @@ class OrderLog extends Basic ...@@ -88,7 +88,7 @@ class OrderLog extends Basic
//评价经纪人 //评价经纪人
$push_client = new PushClientService(); $push_client = new PushClientService();
$push_client->record((int)$params["report_id"], (int)$params["order_id"], 0, '', (int)$this->agentId); $push_client->record((int)$params["report_id"], (int)$params["order_id"], 0, '', (int)$this->agentId, $insert_id);
//对客户发送短信通知 7151 //对客户发送短信通知 7151
// $this->sendSMSForUser($params["report_id"]); // $this->sendSMSForUser($params["report_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