Commit b40c8aa1 authored by hujun's avatar hujun

返回客户信息

parent 6e5bea6a
......@@ -272,9 +272,11 @@ class PushMessageService
$result = $m_push->addHouseIdArray($house_id, $operation_id, $type, $data);
break;
case 2 :
$result = $m_push->addAgentIdArray($agent_id, $operation_id, $type, $data);
break;
case 3 :
$data['house_id'] = $house_id;
$result = $m_push->addAgentIdArray($agent_id, $operation_id, $type, $data);
break;
}
return $result;
}
......
......@@ -271,7 +271,7 @@ class HouseService
$operation_name = $this->agent->getAgentsById($operation_id, 'name');
$data['message'] = '你的【'.$house_title.'】商铺,盘方被【'.$operation_name.'】修改为:'. implode(',', $agent_name);
$this->push->record(2, $house_id, $del_agent_id, $operation_id, $data);
$this->push->record(3, $house_id, $del_agent_id, $operation_id, $data);
}
}
}
......
......@@ -294,6 +294,7 @@ class UserService
$agent = new AAgents();
$ccr_agent_data = $agent->getAgentInfo('name,phone', $operation_id);
$content = "【{$ccr_agent_data['name']}-{$ccr_agent_data['phone']}修改了{$user_name}(id:{$user_id})客方】";
$push->pushMessageById($agent_id, '客方修改', $content, 'user_info', $user_id);
$data['message'] = $content;
$push->record(2, 0, [0=>$agent_id], $operation_id, $data);
}
}
\ No newline at end of file
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