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
772f1a43
Commit
772f1a43
authored
Apr 03, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
隐私号码判断
parent
69b6cd64
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
CallPhoneService.php
application/api_broker/service/CallPhoneService.php
+13
-0
No files found.
application/api_broker/service/CallPhoneService.php
View file @
772f1a43
...
...
@@ -12,6 +12,7 @@ namespace app\api_broker\service;
use
app\api_broker\untils\PlsDemo
;
use
app\api_broker\untils\RongDemo
;
use
app\extra\RedisExt
;
use
app\index\service\UserLogService
;
use
app\model\AliYunPhone
;
use
app\model\BindingPhone
;
use
app\model\AliYunSecretReport
;
...
...
@@ -115,6 +116,18 @@ class CallPhoneService
return
$result
;
}
$clientService
=
new
UserLogService
();
$is_outpace_call_num
=
$clientService
->
userDetailIsOutpaceCallNum5
(
$user_id
);
if
(
$is_outpace_call_num
)
{
$result
[
'msg'
]
=
'拨打次数超过5次,不能拨打。'
;
return
$result
;
}
$called
=
$clientService
->
userDetailIsOutpaceCallNumPhone
(
$phone_b
,
$agent_id
);
if
(
$called
)
{
$result
[
'msg'
]
=
'没有绑定关系,不能拨打。'
;
return
$result
;
}
$this
->
phone_a
=
$phone_a
;
//经纪人手机号
$this
->
phone_b
=
$phone_b
;
//客户手机号
$this
->
record
=
$record
;
//是否录音
...
...
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