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
f11b8484
Commit
f11b8484
authored
Jan 12, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
07bd5637
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
UserLogService.php
application/index/service/UserLogService.php
+9
-9
No files found.
application/index/service/UserLogService.php
View file @
f11b8484
...
@@ -266,7 +266,7 @@ class UserLogService
...
@@ -266,7 +266,7 @@ class UserLogService
#拨打电话按钮是否显示 0:显示 1:不显示
#拨打电话按钮是否显示 0:显示 1:不显示
$result
[
'is_phone_button_show'
]
=
$this
->
isPhoneButtonShow
(
$user_id
,
$result
[
'user_phone'
],
$result
[
"agent_id"
],
$agent_id
);
$result
[
'is_phone_button_show'
]
=
$this
->
isPhoneButtonShow
(
$user_id
,
$result
[
'user_phone'
],
$result
[
"agent_id"
],
$agent_id
);
big_log
(
'拨打电话按钮是否显示'
);
big_log
(
'拨打电话按钮是否显示
0:显示 1:不显示
'
);
big_log
(
$result
[
'is_phone_button_show'
]);
big_log
(
$result
[
'is_phone_button_show'
]);
big_log
(
'拨打电话按钮是否显示'
);
big_log
(
'拨打电话按钮是否显示'
);
...
@@ -287,14 +287,14 @@ class UserLogService
...
@@ -287,14 +287,14 @@ class UserLogService
$user_service
=
new
UserService
();
$user_service
=
new
UserService
();
#查询当前经纪人是否是某个客方的总监 0:可查看 1:不可查看
#查询当前经纪人是否是某个客方的总监 0:可查看 1:不可查看
$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);
$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);
$called
=
$this
->
userDetailIsOutpaceCallNumPhone
(
$result_user_phone
,
$agent_id
);
$called
=
$this
->
userDetailIsOutpaceCallNumPhone
(
$result_user_phone
,
$agent_id
);
...
@@ -304,13 +304,13 @@ class UserLogService
...
@@ -304,13 +304,13 @@ class UserLogService
#客户是否在保护期内(0:保护器内 1:超过保护期)
#客户是否在保护期内(0:保护器内 1:超过保护期)
$is_outstrip_twenty_four_hours
=
$user_service
->
isUserProtect
(
$user_id
);
$is_outstrip_twenty_four_hours
=
$user_service
->
isUserProtect
(
$user_id
);
big_log
(
'客户是否在保护期内'
);
//
big_log('客户是否在保护期内');
big_log
(
$is_outstrip_twenty_four_hours
);
//
big_log($is_outstrip_twenty_four_hours);
#判断当天被拨打是否超过5次 (0:拨打不超过5次 1:超过5次)
#判断当天被拨打是否超过5次 (0:拨打不超过5次 1:超过5次)
$is_outpace_call_num
=
$this
->
userDetailIsOutpaceCallNum5
(
$user_id
);
$is_outpace_call_num
=
$this
->
userDetailIsOutpaceCallNum5
(
$user_id
);
big_log
(
'判断当天被拨打是否超过5次'
);
//
big_log('判断当天被拨打是否超过5次');
big_log
(
$is_outpace_call_num
);
//
big_log($is_outpace_call_num);
if
(
$is_outstrip_twenty_four_hours
==
0
or
$is_outpace_call_num
==
1
){
if
(
$is_outstrip_twenty_four_hours
==
0
or
$is_outpace_call_num
==
1
){
...
...
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