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
780cb038
Commit
780cb038
authored
Jan 10, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
bc4bd500
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
PhoneFollowUpService.php
application/index/service/PhoneFollowUpService.php
+4
-3
No files found.
application/index/service/PhoneFollowUpService.php
View file @
780cb038
...
...
@@ -12,6 +12,7 @@ use app\api_broker\service\VerifyRepetitionService;
use
app\model\AAgents
;
use
app\model\UPhoneFollowUp
;
use
app\model\UPhoneFollowUpTemporary
;
use
app\model\Users
;
class
PhoneFollowUpService
{
...
...
@@ -96,14 +97,14 @@ class PhoneFollowUpService
}
$s_user_service
=
new
UserService
();
$s_user_Log_service
=
new
UserLogService
();
$m_user
=
new
Users
();
foreach
(
$data
as
$k
=>
$v
)
{
#客户是否在保护期内(0:保护器内 1:超过保护期)
$data
[
$k
][
'is_outstrip_twenty_four_hours'
]
=
$s_user_service
->
isUserProtect
(
$v
[
'user_id'
]);
#判断当天被拨打是否超过5次,同时判断是否当前经纪人跟当前客户是否有电话绑定(0允许拨打 1不允许拨打)
//todo 查询客户手机号
$data
[
$k
][
'is_outpace_call_num'
]
=
$s_user_Log_service
->
userDetailIsOutpaceCallNum
(
$
user_id
,
$result
[
'user_phone'
],
$agent_id
);
$user_res
=
$m_user
->
verifyUser
(
'user_name,user_phone'
,
''
,
[
'id'
=>
$v
[
'user_id'
]
]);
$data
[
$k
][
'is_outpace_call_num'
]
=
$s_user_Log_service
->
userDetailIsOutpaceCallNum
(
$
v
[
'user_id'
],
$user_res
[
'user_phone'
],
$agent_id
);
}
...
...
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