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
25a12e74
Commit
25a12e74
authored
Aug 21, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
容联云回调数据主叫被叫判断
parent
f7b18b98
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
PrivacyNumber.php
application/task/controller/PrivacyNumber.php
+8
-0
No files found.
application/task/controller/PrivacyNumber.php
View file @
25a12e74
...
...
@@ -154,6 +154,13 @@ class PrivacyNumber
$phone_a
=
$phone
[
0
];
$phone_b
=
$phone
[
1
];
//主叫
if
(
$phone_a
==
$params
[
'callerNum'
])
{
$call_type
=
0
;
}
else
{
$call_type
=
1
;
}
$date
=
[
'call_id'
=>
$params
[
'callId'
],
'phone_no'
=>
$phone_a
,
/*A*/
...
...
@@ -168,6 +175,7 @@ class PrivacyNumber
'mapping_id'
=>
$params
[
'mappingId'
],
/*绑定容联云id*/
'type'
=>
2
,
'call_display'
=>
$params
[
'calldisplay'
],
'call_type'
=>
$call_type
,
];
if
(
$phone_a
)
{
...
...
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