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
c37b031a
Commit
c37b031a
authored
Apr 12, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加注释
parent
efff5447
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
UserService.php
application/index/service/UserService.php
+6
-3
No files found.
application/index/service/UserService.php
View file @
c37b031a
...
...
@@ -635,9 +635,12 @@ class UserService
/**
* 解除绑定关系
* @param $user_id
* @return int|string
* @param $now_user_id //当前详情页客户
* @param $user_id //被取消对象客户id
* @param $agent_id //当前操作经纪人id
* @return int
*/
public
function
removeUserBind
(
$now_user_id
,
$user_id
,
$agent_id
){
// 检查权限 客方自己 有权限的人
$s_vip
=
new
VipService
();
...
...
@@ -649,9 +652,9 @@ class UserService
return
2
;
//无解除关联权限权限
}
$params_
[
'bind_id'
]
=
0
;
$now_user_info
=
$this
->
user
->
getUserById
(
$field
=
'bind_id'
,
$now_user_id
);
$params_
[
'bind_id'
]
=
0
;
if
(
$now_user_info
[
'bind_id'
]
==
0
){
//当前客户详情 客户 为主账户的情况
$this
->
user
->
updateUsers
(
$user_id
,
$params_
);
...
...
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