Commit 671bef14 authored by hujun's avatar hujun

[]

parent 7e04b5ca
......@@ -235,7 +235,7 @@ class SquareService
$res = $this->m_coment->saveComment($insert);//int(1)
if($res == 1){
$push_service = new PushMessageService();
$push_service->record(10, $square_id, $agent_b, $agent_id, ['message'=>$agent_name .'评论了你的开盘']);
$push_service->record(10, $square_id, [$agent_b], $agent_id, ['message'=>$agent_name .'评论了你的开盘']);
return true;
}else{
return false;
......@@ -255,7 +255,7 @@ class SquareService
if($res == 1){
$push_service = new PushMessageService();
$push_service->record(11, $square_id, $agent_id_a, $agent_id_b, ['message'=>$agent_name .'回复了你的开盘评论']);
$push_service->record(11, $square_id, [$agent_id_a], $agent_id_b, ['message'=>$agent_name .'回复了你的开盘评论']);
return true;
}else{
return false;
......
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