Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
SooonerHotel
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
吴贤德
SooonerHotel
Commits
055d91f6
Commit
055d91f6
authored
Sep 09, 2019
by
吴贤德
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
中心接口 incrementList测试接口只输出hotel_id=3的数据
parent
632a758d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
CenterAction.class.php
SooonerHotel/App/Lib/Action/Api/CenterAction.class.php
+1
-1
No files found.
SooonerHotel/App/Lib/Action/Api/CenterAction.class.php
View file @
055d91f6
...
@@ -334,7 +334,7 @@ class CenterAction extends Action
...
@@ -334,7 +334,7 @@ class CenterAction extends Action
$end
=
date
(
'Y-m-d H:i:s'
,
strtotime
(
$_GET
[
"end"
]));
$end
=
date
(
'Y-m-d H:i:s'
,
strtotime
(
$_GET
[
"end"
]));
$page
=
$_GET
[
"page"
];
$page
=
$_GET
[
"page"
];
$sqlTotal
=
"SELECT count(1) total FROM sh_hotel_media_map_
$spid
WHERE updatetime BETWEEN '
$start
' AND '
$end
';"
;
$sqlTotal
=
"SELECT count(1) total FROM sh_hotel_media_map_
$spid
WHERE
hotel_id=3 AND
updatetime BETWEEN '
$start
' AND '
$end
';"
;
$totalArr
=
M
(
""
)
->
query
(
$sqlTotal
);
$totalArr
=
M
(
""
)
->
query
(
$sqlTotal
);
$total
=
0
;
$total
=
0
;
if
(
count
(
$totalArr
)
>
0
){
if
(
count
(
$totalArr
)
>
0
){
...
...
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