Browse Source

修改uni的和usps一起同步

lvhao 1 week ago
parent
commit
42d267c5a6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/CoreApp/controllers/Api.php

+ 1 - 1
core/CoreApp/controllers/Api.php

@@ -826,7 +826,7 @@ class Api extends Start_Controller {
 		$where = "dlz < '1' and state = '207' and  shop != '19' and ";
 		$where = "dlz < '1' and state = '207' and  shop != '19' and ";
 		if(date("H",time()) == '8' && date("i",time()) > '20' && date("i",time()) < '39')//USPS-USA单,已出库——使用模板3 每天早上8点半  触发发送【昨天早上7点-今天早上7点】出库的
 		if(date("H",time()) == '8' && date("i",time()) > '20' && date("i",time()) < '39')//USPS-USA单,已出库——使用模板3 每天早上8点半  触发发送【昨天早上7点-今天早上7点】出库的
 		{
 		{
-			$where .= "(express = '2' or express = '63' or express = '64') and librarytime > '".strtotime(date("Y-m-d 7:00:0",strtotime("-1 day")))."' and librarytime < '".strtotime(date("Y-m-d 7:00:0",time()))."'";
+			$where .= "(express = '2' or express = '63' or express = '64' or express= '81') and librarytime > '".strtotime(date("Y-m-d 7:00:0",strtotime("-1 day")))."' and librarytime < '".strtotime(date("Y-m-d 7:00:0",time()))."'";
 			$readid = 3;
 			$readid = 3;
 		}
 		}
 		else if(date("H",time()) == '21' && date("w",time()) != '0')//二、杭州联邦+杭州联邦-不报关,单独用一个模板—新模板2 每天晚上9点半 触发发送 【昨天晚上9:30——今天晚上9:30】出库的
 		else if(date("H",time()) == '21' && date("w",time()) != '0')//二、杭州联邦+杭州联邦-不报关,单独用一个模板—新模板2 每天晚上9点半 触发发送 【昨天晚上9:30——今天晚上9:30】出库的