@@ -273,6 +273,15 @@ class CenterAction extends Action
...
@@ -273,6 +273,15 @@ class CenterAction extends Action
}
}
return$str;
return$str;
}
}
functionremakeImageUrlForCache($url){
$imageDomain="image.hotel.wasu.tv";
if($url!=""||!is_null($url)){
$url="http://$imageDomain".substr($url,7);
}else{
$url="";
}
return$url;
}
/*
/*
* 媒资自动转推函数
* 媒资自动转推函数
* 批量修改媒资状态
* 批量修改媒资状态
...
@@ -344,7 +353,7 @@ class CenterAction extends Action
...
@@ -344,7 +353,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 $whereHotelid AND hm.status_inject=1 AND updatetime BETWEEN '$start' AND '$end';";
$sqlTotal="SELECT count(1) total FROM sh_hotel_media_map_$spid WHERE $whereHotelid AND status_inject=1 AND updatetime BETWEEN '$start' AND '$end';";