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
12c831b2
Commit
12c831b2
authored
Jan 12, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
c259e6a6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
HomePageLog.php
application/api_broker/controller/HomePageLog.php
+0
-1
UserLogService.php
application/index/service/UserLogService.php
+6
-5
No files found.
application/api_broker/controller/HomePageLog.php
View file @
12c831b2
...
...
@@ -113,7 +113,6 @@ class HomePageLog extends Basic
$date
=
date
(
"Y-m-d"
,
time
());
if
(
$start_time
>=
$date
&&
$start_time
<=
$date
.
" 23:59:59"
)
{
big_log
(
json_encode
(
$where_
));
$result
=
$this
->
phoneFollowUpTemporary
->
getFollowList
(
$pageNo
,
$pageSize
,
$order_
=
'id desc'
,
$field
,
$where_
);
}
else
{
$result
=
$this
->
uPhoneFollowUpModel
->
getFollowList
(
$pageNo
,
$pageSize
,
'id desc'
,
$field
,
$where
);
...
...
application/index/service/UserLogService.php
View file @
12c831b2
...
...
@@ -302,21 +302,23 @@ class UserLogService
// big_log('是否有绑定关系');
// big_log($called);
if
(
$is_can_look
==
0
or
$examine_vip
==
0
or
$called
==
0
){
big_log
(
'6666666'
);
return
0
;
//如果是客方的总监 或者 有权限查看vip客户 直接返回0
}
#客户是否在保护期内(0:保护器内 1:超过保护期)
$is_outstrip_twenty_four_hours
=
$user_service
->
isUserProtect
(
$user_id
);
big_log
(
'客户是否在保护期内'
);
big_log
(
$is_outstrip_twenty_four_hours
);
//
big_log('客户是否在保护期内');
//
big_log($is_outstrip_twenty_four_hours);
#判断当天被拨打是否超过5次 (0:拨打不超过5次 1:超过5次)
$is_outpace_call_num
=
$this
->
userDetailIsOutpaceCallNum5
(
$user_id
);
big_log
(
'判断当天被拨打是否超过5次'
);
big_log
(
$is_outpace_call_num
);
//
big_log('判断当天被拨打是否超过5次');
//
big_log($is_outpace_call_num);
if
(
$is_outstrip_twenty_four_hours
==
0
or
$is_outpace_call_num
==
1
){
big_log
(
'888888'
);
return
1
;
//过了保护期 或者 有绑定关系 直接返回0
}
...
...
@@ -392,7 +394,6 @@ class UserLogService
}
$call_key
=
'call_'
.
$agent_id
.
'_'
.
$phone
.
'_'
.
$user_phone
.
'_'
.
$is_privacy
;
$redis_res
=
$redis
->
get
(
$call_key
);
big_log
(
$redis_res
);
if
(
empty
(
$redis_res
)){
$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