Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
0e5f6054
Commit
0e5f6054
authored
Jun 28, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
943156d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
15 deletions
+18
-15
UserService.php
application/index/service/UserService.php
+18
-15
No files found.
application/index/service/UserService.php
View file @
0e5f6054
...
@@ -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
);
}
/**
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment