Procházet zdrojové kódy

修改3pe的单号查询

lvhao před 1 týdnem
rodič
revize
e41ec4c92f
1 změnil soubory, kde provedl 4 přidání a 3 odebrání
  1. 4 3
      core/CoreApp/controllers/Aatest.php

+ 4 - 3
core/CoreApp/controllers/Aatest.php

@@ -92,6 +92,8 @@ class Aatest extends Start_Controller {
     //定义方法的调用规则 获取URI第二段值
     //定义方法的调用规则 获取URI第二段值
     public function _remap($arg,$arg_array)
     public function _remap($arg,$arg_array)
     {  
     {  
+		$this->_tbwaybill();
+		die;
 		$info = $this->logic_order->getInfo("orderinfo = '577214984732905547'");
 		$info = $this->logic_order->getInfo("orderinfo = '577214984732905547'");
 		$shop = $this->shop->read($info['shop']);
 		$shop = $this->shop->read($info['shop']);
 		$res = $this->apitt->get_data(['577214984732905547'],$shop);
 		$res = $this->apitt->get_data(['577214984732905547'],$shop);
@@ -289,7 +291,6 @@ class Aatest extends Start_Controller {
 
 
 
 
 	private function _tbwaybill(){
 	private function _tbwaybill(){
-		die;
 		//发现的是11-19日 为了避免进程被困 切分为
 		//发现的是11-19日 为了避免进程被困 切分为
 		// 11-15 到 11-20     
 		// 11-15 到 11-20     
 		//11-20 到 11-25   
 		//11-20 到 11-25   
@@ -297,8 +298,8 @@ class Aatest extends Start_Controller {
 		//12-1到 12-6 
 		//12-1到 12-6 
 		//12-6到 12-11 
 		//12-6到 12-11 
 
 
-		$start_time = 1763136000;
-		$end_time = 1763568000;	
+		$start_time = 1764864000;
+		$end_time = 1764950400		;	
 		$table_name = "fullorder";
 		$table_name = "fullorder";
 		$where = "librarytime >= ".$start_time ." and librarytime <= ".$end_time."  and ( (express = 76) or (express = 77))";
 		$where = "librarytime >= ".$start_time ." and librarytime <= ".$end_time."  and ( (express = 76) or (express = 77))";
 		$list = $this->db->from($table_name)->select('id,orderinfo,number,express,waybill,waybillid,printnumber,librarytime')->where($where)->get()->result_array();
 		$list = $this->db->from($table_name)->select('id,orderinfo,number,express,waybill,waybillid,printnumber,librarytime')->where($where)->get()->result_array();