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
28e3c419
Commit
28e3c419
authored
Oct 27, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理释放慢的隐私号码
parent
b92d6e6d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
CallPhoneService.php
application/api_broker/service/CallPhoneService.php
+7
-6
No files found.
application/api_broker/service/CallPhoneService.php
View file @
28e3c419
...
...
@@ -342,9 +342,8 @@ class CallPhoneService
$subsId
=
$phone
->
getSubsId
(
$this
->
phone_x
,
$this
->
phone_a
,
$this
->
phone_b
,
1
,
'subsId'
);
if
(
$subsId
)
{
$result
=
PlsDemo
::
unbindSubscription
(
$subsId
,
$this
->
phone_x
);
/*解绑*/
if
(
$result
->
Message
==
'OK'
)
{
$this
->
redis
->
del
(
$call_key
);
}
else
{
if
(
$result
->
Message
!=
'OK'
)
{
// } else {
$data
[
'status'
]
=
'failed'
;
$data
[
'msg'
]
=
'解除失败,如果需要继续与客户沟通,请联系运营!'
;
}
...
...
@@ -358,15 +357,17 @@ class CallPhoneService
if
(
$mappingId
)
{
$result
=
$yun_tong_xun
->
releaseNumber
(
$mappingId
);
/*解绑*/
if
(
$result
[
'statusCode'
]
==
'000000'
)
{
$this
->
redis
->
del
(
$call_key
);
}
//
if ($result['statusCode'] == '000000') {
//
$this->redis->del($call_key);
//
}
}
else
{
$data
[
'msg'
]
=
'没有号码绑定关系,请忽略!。'
;
}
}
else
{
$data
[
'msg'
]
=
'没有号码绑定关系,请忽略!。'
;
}
$this
->
redis
->
del
(
$call_key
);
}
catch
(
\Exception
$e
)
{
$data
[
'status'
]
=
'failed'
;
$data
[
'msg'
]
=
$e
->
getMessage
();
...
...
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