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
fcbea741
Commit
fcbea741
authored
Mar 04, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
搜索时间不能大于30天
parent
74860372
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
HomePageLog.php
application/api_broker/controller/HomePageLog.php
+4
-4
OrderLog.php
application/api_broker/controller/OrderLog.php
+0
-1
No files found.
application/api_broker/controller/HomePageLog.php
View file @
fcbea741
...
...
@@ -90,8 +90,8 @@ class HomePageLog extends Basic
}
if
(
!
empty
(
$params
[
"start_time"
])
&&
!
empty
(
$params
[
"end_time"
]))
{
$time
=
strtotime
(
$end_time
)
-
strtotime
(
$start_time
);
if
(
$time
>
1296
000
||
$time
<
0
)
{
return
$this
->
response
(
101
,
'搜索时间不能大于
15
天'
);
if
(
$time
>
2592
000
||
$time
<
0
)
{
return
$this
->
response
(
101
,
'搜索时间不能大于
30
天'
);
}
$where_
[
"create_time"
]
=
array
(
'between'
,
array
(
$start_time
,
$end_time
)
);
...
...
@@ -202,8 +202,8 @@ class HomePageLog extends Basic
$end_time
=
date
(
"Y-m-d H:i:s"
,
$params
[
"end_time"
]);
$time
=
strtotime
(
$end_time
)
-
strtotime
(
$start_time
);
if
(
$time
>
1296
000
||
$time
<
0
)
{
return
$this
->
response
(
101
,
'搜索时间不能大于
15
天'
);
if
(
$time
>
2592
000
||
$time
<
0
)
{
return
$this
->
response
(
101
,
'搜索时间不能大于
30
天'
);
}
$where_
[
"f.create_time"
]
=
array
(
'between'
,
array
(
$start_time
,
$end_time
)
);
}
...
...
application/api_broker/controller/OrderLog.php
View file @
fcbea741
...
...
@@ -157,7 +157,6 @@ class OrderLog extends Basic
$messageUntil
=
new
MessageUntils
();
$user_phone
=
$report
->
getFieldValue
(
'user_phone'
,
[
'id'
=>
$report_id
]);
$data
=
[
$agent_name
];
$result
=
$messageUntil
->
sendSMSForUser
(
$user_phone
,
$data
,
'415209'
);
if
(
$result
==
'true'
)
{
...
...
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