Commit 0e5f6054 authored by zhuwei's avatar zhuwei

1

parent 943156d3
...@@ -761,6 +761,23 @@ class UserService ...@@ -761,6 +761,23 @@ class UserService
} }
} }
/**
* 记录操作日志
* @param $user_id
* @param $remove_bind_id
* @param $agent_id
* @param int $type
*/
private function userDoLog($user_id, $remove_bind_id,$agent_id,$type=0)
{
$records = new GOperatingRecords();
$remark = '与ID: '.$remove_bind_id.'解除绑定关系';
if($type == 1){
$remark = '与ID: '.$remove_bind_id.'添加绑定';
}
$records->record($agent_id, 8, $remark, '',$user_id);
}
/** /**
* 解除绑定关系 * 解除绑定关系
* @param $now_user_id //当前详情页客户 * @param $now_user_id //当前详情页客户
...@@ -831,21 +848,7 @@ class UserService ...@@ -831,21 +848,7 @@ class UserService
return $user_info_list; return $user_info_list;
} }
/**
* 记录操作日志
* @param $id
* @param $remove_bind_id
* @param $agent_id
*/
private function userDoLog($id, $remove_bind_id,$agent_id,$type=0)
{
$records = new GOperatingRecords();
$remark = '与ID: '.$remove_bind_id.'解除绑定关系';
if($type == 1){
$remark = '与ID: '.$remove_bind_id.'添加绑定';
}
$records->record($agent_id, 8, $remark, '',$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