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
e7e8fcf1
Commit
e7e8fcf1
authored
Jan 12, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
日志
parent
12c831b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
UserLogService.php
application/index/service/UserLogService.php
+16
-0
No files found.
application/index/service/UserLogService.php
View file @
e7e8fcf1
...
@@ -290,17 +290,33 @@ class UserLogService
...
@@ -290,17 +290,33 @@ class UserLogService
$is_can_look
=
$user_service
->
isUserAgentDirector
(
$result_agent_id
,
$agent_id
);
$is_can_look
=
$user_service
->
isUserAgentDirector
(
$result_agent_id
,
$agent_id
);
// big_log('查询当前经纪人是否是某个客方的总监');
// big_log('查询当前经纪人是否是某个客方的总监');
// big_log($is_can_look);
// big_log($is_can_look);
if
(
$is_can_look
==
0
){
big_log
(
'1 查询当前经纪人是否是某个客方的总监 是'
);
}
else
{
big_log
(
'1 查询当前经纪人是否是某个客方的总监 不是'
);
}
$vip_services
=
new
VipService
();
$vip_services
=
new
VipService
();
#是否有权限查看vip客户 0:可查看 1:不可查看
#是否有权限查看vip客户 0:可查看 1:不可查看
$examine_vip
=
$vip_services
->
vip
(
$agent_id
);
$examine_vip
=
$vip_services
->
vip
(
$agent_id
);
// big_log('是否有权限查看vip客户');
// big_log('是否有权限查看vip客户');
// big_log($examine_vip);
// big_log($examine_vip);
if
(
$examine_vip
==
0
){
big_log
(
'1 是否有权限查看vip客户 是'
);
}
else
{
big_log
(
'1 查询当前经纪人是否是某个客方的总监 不是'
);
}
//是否有绑定关系 0有 1无
//是否有绑定关系 0有 1无
$called
=
$this
->
userDetailIsOutpaceCallNumPhone
(
$result_user_phone
,
$agent_id
);
$called
=
$this
->
userDetailIsOutpaceCallNumPhone
(
$result_user_phone
,
$agent_id
);
// big_log('是否有绑定关系');
// big_log('是否有绑定关系');
// big_log($called);
// big_log($called);
if
(
$called
==
0
){
big_log
(
'1 是否有绑定关系 有'
);
}
else
{
big_log
(
'1 是否有绑定关系 无'
);
}
if
(
$is_can_look
==
0
or
$examine_vip
==
0
or
$called
==
0
){
if
(
$is_can_look
==
0
or
$examine_vip
==
0
or
$called
==
0
){
big_log
(
'6666666'
);
big_log
(
'6666666'
);
return
0
;
//如果是客方的总监 或者 有权限查看vip客户 直接返回0
return
0
;
//如果是客方的总监 或者 有权限查看vip客户 直接返回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