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
5a3a6dd5
Commit
5a3a6dd5
authored
Oct 10, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
权限判断,是否有权筛选纯房东客户 0:可查看 1:不可查看
parent
d8a8b3da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
Member.php
application/index/controller/Member.php
+7
-0
No files found.
application/index/controller/Member.php
View file @
5a3a6dd5
...
...
@@ -3,6 +3,7 @@
namespace
app\index\controller
;
use
app\api_broker\service\CallPhoneService
;
use
app\api_broker\service\ClientService
;
use
app\api_broker\service\VipService
;
use
app\extra\RedisExt
;
use
app\index\extend\Basic
;
use
app\index\service\UserService
;
...
...
@@ -366,6 +367,12 @@ class Member extends Basic{
}
$data
[
'list'
]
=
$list
;
$data
[
'total'
]
=
$this
->
user
->
getUserAgentTotal
(
$where
,
$type
);
/*权限判断,是否有权筛选纯房东客户 0:可查看 1:不可查看*/
$check
=
new
VipService
();
$data
[
'pure_landlord'
]
=
$check
->
vip
(
$params
[
"agent_id_for_bind"
],
'pure_landlord'
);
//end
}
catch
(
\Exception
$e
)
{
return
$this
->
response
(
101
,
'内部错误,获取客户失败!请联系运营。'
);
}
...
...
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