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
04f82b5e
Commit
04f82b5e
authored
Jun 17, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
//
parent
66c7b219
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
15 deletions
+1
-15
PrivacyNumber.php
application/task/controller/PrivacyNumber.php
+1
-15
No files found.
application/task/controller/PrivacyNumber.php
View file @
04f82b5e
...
@@ -130,20 +130,6 @@ class PrivacyNumber
...
@@ -130,20 +130,6 @@ class PrivacyNumber
return
json_encode
([
'code'
=>
101
,
'msg'
=>
'参数错误'
]);
return
json_encode
([
'code'
=>
101
,
'msg'
=>
'参数错误'
]);
}
}
if
(
$param
[
'record_down'
]
==
1
)
{
$where
[
'record_down'
]
=
0
;
$file_url
=
'/home/www/tl_estate/public/static/voice'
;
$space_voice
=
disk_free_space
(
$file_url
)
+
1024
*
1024
*
1024
*
1
;
//1G容量保存
$space_voice_local
=
disk_total_space
(
$file_url
);
if
(
$space_voice
>=
$space_voice_local
)
{
$message
=
new
MessageUntils
();
$message
->
sendCCPSMS
(
'13817616471'
,
[],
427917
);
return
;
}
}
if
(
$param
[
'record_down'
]
==
2
)
{
if
(
$param
[
'record_down'
]
==
2
)
{
$where
[
'record_down'
]
=
1
;
$where
[
'record_down'
]
=
1
;
}
}
...
@@ -154,7 +140,7 @@ class PrivacyNumber
...
@@ -154,7 +140,7 @@ class PrivacyNumber
}
}
if
(
empty
(
$param
[
'date'
])
&&
$is_today
)
{
if
(
empty
(
$param
[
'date'
])
&&
$is_today
)
{
$date
=
date
(
'Y-m-d H:i:s'
,
time
()
-
54
00
);
//录音生成时间15分钟左右
$date
=
date
(
'Y-m-d H:i:s'
,
time
()
-
9
00
);
//录音生成时间15分钟左右
$where
[
'create_time'
]
=
[
'between'
,
[
date
(
'Y-m-d H:i:s'
,
strtotime
(
"-15 day"
)),
$date
]];
$where
[
'create_time'
]
=
[
'between'
,
[
date
(
'Y-m-d H:i:s'
,
strtotime
(
"-15 day"
)),
$date
]];
}
else
{
}
else
{
$where
[
'create_time'
]
=
[
'between'
,
[
date
(
'Y-m-d H:i:s'
,
strtotime
(
"-15 day"
)),
$param
[
'date'
]]];
$where
[
'create_time'
]
=
[
'between'
,
[
date
(
'Y-m-d H:i:s'
,
strtotime
(
"-15 day"
)),
$param
[
'date'
]]];
...
...
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