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
19bd5365
Commit
19bd5365
authored
May 13, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
录音回调返回值
parent
67a6c4a6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
PrivacyNumber.php
application/task/controller/PrivacyNumber.php
+5
-4
No files found.
application/task/controller/PrivacyNumber.php
View file @
19bd5365
...
@@ -651,7 +651,7 @@ class PrivacyNumber
...
@@ -651,7 +651,7 @@ class PrivacyNumber
$result_data
=
PlsDemo
::
queryRecordFileDownloadUrl
(
$v
[
'call_id'
],
$v
[
'call_time'
]);
$result_data
=
PlsDemo
::
queryRecordFileDownloadUrl
(
$v
[
'call_id'
],
$v
[
'call_time'
]);
}
catch
(
\Exception
$e
)
{
}
catch
(
\Exception
$e
)
{
Log
::
write
(
$e
->
getMessage
(),
'voice_down_callBack_error'
);
//记录日志
Log
::
write
(
$e
->
getMessage
(),
'voice_down_callBack_error'
);
//记录日志
return
;
return
json_encode
([
'code'
=>
1
,
'msg'
=>
'处理回调失败'
])
;
}
}
if
(
isset
(
$result_data
->
Message
)
&&
$result_data
->
Message
==
'OK'
)
{
if
(
isset
(
$result_data
->
Message
)
&&
$result_data
->
Message
==
'OK'
)
{
...
@@ -666,17 +666,17 @@ class PrivacyNumber
...
@@ -666,17 +666,17 @@ class PrivacyNumber
}
}
}
}
}
}
$return
=
json_encode
([
'code'
=>
0
,
'msg'
=>
'接收成功'
]);
if
(
isset
(
$update_data
))
{
if
(
isset
(
$update_data
))
{
try
{
try
{
$m_secret_report
->
insertDataAll
(
$update_data
);
$m_secret_report
->
insertDataAll
(
$update_data
);
Log
::
write
(
json_encode
(
$update_data
),
'voice_down_callBack_update'
);
//记录日志
Log
::
write
(
json_encode
(
$update_data
),
'voice_down_callBack_update'
);
//记录日志
}
catch
(
\Exception
$e
)
{
}
catch
(
\Exception
$e
)
{
Log
::
write
(
$e
->
getMessage
(),
'voice_down_callBack_save_error'
);
//记录日志
Log
::
write
(
$e
->
getMessage
(),
'voice_down_callBack_save_error'
);
//记录日志
return
;
$return
=
json_encode
([
'code'
=>
1
,
'msg'
=>
'处理回调失败'
])
;
}
}
}
}
return
;
return
$return
;
}
}
}
}
\ No newline at end of file
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