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
2ea044ad
Commit
2ea044ad
authored
Jul 03, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
file_exists
parent
ad352b00
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
PrivacyNumber.php
application/task/controller/PrivacyNumber.php
+9
-0
No files found.
application/task/controller/PrivacyNumber.php
View file @
2ea044ad
...
@@ -177,6 +177,15 @@ class PrivacyNumber
...
@@ -177,6 +177,15 @@ class PrivacyNumber
$is_down
=
''
;
$is_down
=
''
;
foreach
(
$down_data
as
$k
=>
$v
)
{
foreach
(
$down_data
as
$k
=>
$v
)
{
if
(
file_exists
(
PHONE_VOICE
.
'/'
.
$v
[
'voice_file'
])
&&
!
empty
(
$v
[
'voice_file'
]))
{
$data
[
'record_down'
]
=
empty
(
$v
[
'record_down'
])
?
1
:
2
;
if
(
$data
[
'record_down'
]
==
1
)
{
$data
[
'voice_file'
]
=
date
(
'Ymd'
)
.
'/'
.
basename
(
$is_down
);
}
$this
->
m_secret_report
->
updateDownStatus
(
$v
[
'id'
],
$data
);
continue
;
}
$create_time
=
date
(
'Y-m-d'
,
strtotime
(
$v
[
'create_time'
]));
$create_time
=
date
(
'Y-m-d'
,
strtotime
(
$v
[
'create_time'
]));
if
(
$v
[
'type'
]
==
1
)
{
if
(
$v
[
'type'
]
==
1
)
{
try
{
try
{
...
...
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