Commit 055d91f6 authored by 吴贤德's avatar 吴贤德

中心接口 incrementList测试接口只输出hotel_id=3的数据

parent 632a758d
...@@ -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){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment