Commit c44f10f9 authored by hujun's avatar hujun

客方修改文案

parent a39b111c
......@@ -292,8 +292,9 @@ class UserService
public function pushMessage($agent_id, $operation_id, $user_name, $user_id) {
$push = new PushMessageService();
$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})客方】";
$ccr_agent_data = $agent->getAgentInfo('name', $operation_id);
$agent_name = $agent->getAgentInfo('name', $agent_id);
$content = "你的【客户ID:{$user_id}】客户,客方被【{$ccr_agent_data['name']}】修改为【{$agent_name['name']}】";
$data['message'] = $content;
$push->record(2, 0, [0=>$agent_id], $operation_id, $data);
}
......
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