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
4fa680d0
Commit
4fa680d0
authored
Oct 16, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e8610432
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
11 deletions
+6
-11
CallPhoneService.php
application/api_broker/service/CallPhoneService.php
+6
-11
No files found.
application/api_broker/service/CallPhoneService.php
View file @
4fa680d0
...
...
@@ -126,23 +126,18 @@ class CallPhoneService
$phone_x
=
$this
->
redis
->
get
(
$call_key
);
$bind
=
new
BindingPhone
();
if
(
empty
(
$phone_x
))
{
if
(
empty
(
$phone_x
)
&&
$this
->
is_privacy
==
1
)
{
$where
[
'a.status'
]
=
1
;
$where
[
'a.phone_a'
]
=
$phone_a
;
$where
[
'a.phone_b'
]
=
$phone_b
;
$where
[
'a.type'
]
=
$this
->
is_privacy
;
$phone_x_arr
=
$bind
->
getPhoneX
(
'b.phone_x,a.subsId'
,
$where
);
//已经绑定的返回隐私号码
if
(
$this
->
is_privacy
==
1
)
{
if
(
!
empty
(
$phone_x_arr
[
'subsId'
])
&&
$phone_x_arr
[
'phone_x'
])
{
//兼容
$check_data
=
PlsDemo
::
querySubscriptionDetail
(
$phone_x_arr
[
'subsId'
],
$phone_x_arr
[
'phone_x'
]);
if
(
$check_data
->
Code
==
'OK'
&&
$check_data
->
SecretBindDetailDTO
->
Status
==
1
)
{
$phone_x
=
$phone_x_arr
[
'phone_x'
];
}
if
(
!
empty
(
$phone_x_arr
[
'subsId'
])
&&
$phone_x_arr
[
'phone_x'
])
{
//兼容
$check_data
=
PlsDemo
::
querySubscriptionDetail
(
$phone_x_arr
[
'subsId'
],
$phone_x_arr
[
'phone_x'
]);
if
(
$check_data
->
Code
==
'OK'
&&
$check_data
->
SecretBindDetailDTO
->
Status
==
1
)
{
$phone_x
=
$phone_x_arr
[
'phone_x'
];
}
}
else
{
$phone_x
=
$phone_x_arr
[
'phone_x'
];
}
}
...
...
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