Commit 1bab643e authored by zhuwei's avatar zhuwei

客户被修改客方后也进入保护期 bug

parent 4b413173
...@@ -103,8 +103,6 @@ class UserService ...@@ -103,8 +103,6 @@ class UserService
//记录修改客方 //记录修改客方
if (!empty($data['agents_id'])) { if (!empty($data['agents_id'])) {
$this->recordGuest((int)$data['agents_id'], (int)$agent_id_old, $id, $user_name, $type); $this->recordGuest((int)$data['agents_id'], (int)$agent_id_old, $id, $user_name, $type);
//客户被修改客方后也进入保护期
$this->setUserProtectTime($id);
} }
//记录邀请人修改记录 //记录邀请人修改记录
...@@ -174,6 +172,8 @@ class UserService ...@@ -174,6 +172,8 @@ class UserService
if ($agent_id != $agent_id_old) { if ($agent_id != $agent_id_old) {
$remark = '修改为' . $agent_data['name'] . '-' . $agent_data['phone']; $remark = '修改为' . $agent_data['name'] . '-' . $agent_data['phone'];
$this->pushMessage($agent_id, $agent_id_old, $this->operation_id, $user_name, $user_id); $this->pushMessage($agent_id, $agent_id_old, $this->operation_id, $user_name, $user_id);
//客户被修改客方后也进入保护期
$this->setUserProtectTime($user_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