|
@@ -989,6 +989,10 @@ class Api extends Start_Controller {
|
|
|
{
|
|
|
$wid = 2;
|
|
|
}
|
|
|
+ else if(date("H",time()) == '21' && date("i",time()) > '20' && date("i",time()) < '39')//其他快递
|
|
|
+ {
|
|
|
+ $wid = 3;
|
|
|
+ }
|
|
|
else
|
|
|
{
|
|
|
exit;
|
|
@@ -1068,7 +1072,11 @@ class Api extends Start_Controller {
|
|
|
**/
|
|
|
else if($wid == 2 && stripos($notice['express'],',1,') !== false)
|
|
|
{
|
|
|
- $where = "express != '2' and express != '63' and express != '64' and printtype = '1' and waybill != '' and librarytime > '".strtotime(date("Y-m-d 20:00:0",strtotime("-6 day")))."' and librarytime < '".strtotime(date("Y-m-d 20:00:0",time()))."'";//4
|
|
|
+ $where = "express != '2' and express != '63' and express != '64' and printtype = '1' and waybill != '' and librarytime > '".strtotime(date("Y-m-d 20:00:0",strtotime("-6 day")))."' and librarytime < '".strtotime(date("Y-m-d 20:00:0",time()))."'";//4
|
|
|
+ }
|
|
|
+ else if($wid == 3 && stripos($notice['express'],',1,') !== false)
|
|
|
+ {
|
|
|
+ $where = "express = '71' and printtype = '2' and waybill != '' and librarytime > '".strtotime(date("Y-m-d 20:00:0",strtotime("-6 day")))."' and librarytime < '".strtotime(date("Y-m-d 20:00:0",time()))."'";//4
|
|
|
}
|
|
|
else
|
|
|
{
|