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
cd7fb3df
Commit
cd7fb3df
authored
Mar 22, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
f933ea18
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
20 deletions
+2
-20
UserService.php
application/index/service/UserService.php
+2
-20
No files found.
application/index/service/UserService.php
View file @
cd7fb3df
...
...
@@ -621,28 +621,10 @@ class UserService
$nuser_info
=
$this
->
user
->
getUserById
(
$field
=
'bind_id'
,
$now_user_id
);
if
(
$nuser_info
[
'bind_id'
]
==
0
){
$this
->
user
->
updateUsers
(
$user_id
,
$params_
);
$this
->
userDoLog
(
$user_id
,
$nuser_info
[
'bind_id'
],
$agent_id
);
}
else
{
$this
->
user
->
updateUsers
(
$now_user_id
,
$params_
);
$this
->
userDoLog
(
$user_id
,
$now_user_id
,
$agent_id
);
}
// 客户bind_id不等于0才能解绑并记录日志
// $user_info = $this->user->getUserById($field = 'bind_id', $user_id);
// if($user_info['bind_id'] == 0){
// $band_count = $this->user->getUserCountByBandId($field = 'id', $user_id);
// if($band_count == 1){
// $params_['bind_id'] = 0;
// $this->user->updateUsers($now_user_id,$params_);
// return 0;
// }
// return 3;
// }else{
// // 解绑操作记录
// $this->userDoLog($user_id,$user_info['bind_id'],$agent_id);
// }
// $this->userDoLog($user_id,$user_info['bind_id'],$agent_id);
}
$this
->
userDoLog
(
$user_id
,
$now_user_id
,
$agent_id
);
return
0
;
}
...
...
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