lvhao 1 dia atrás
pai
commit
355071dd7e
1 arquivos alterados com 9 adições e 8 exclusões
  1. 9 8
      core/CoreApp/controllers/Aatest.php

+ 9 - 8
core/CoreApp/controllers/Aatest.php

@@ -92,7 +92,7 @@ class Aatest extends Start_Controller {
     //定义方法的调用规则 获取URI第二段值
     public function _remap($arg,$arg_array)
     {  
-		$this->_tbuni();
+		
 		die;
 		//测试 erp现在还在用的数据
 		//
@@ -280,14 +280,15 @@ class Aatest extends Start_Controller {
 		}
     }
 	private  function _tbuni(){
-		echo "<pre>";
-		$fdata = $this->fullorder->find_all("express = 81 and librarytime >= 1761580800 and librarytime <= 1764172800 and state = 207 and shop < 10");
+		
+		// echo "<pre>";
+		// $fdata = $this->fullorder->find_all("express = 81 and librarytime >= 1761580800 and librarytime <= 1764172800 and state = 207 and shop < 10");
 	
-		foreach($fdata as $k => $v){
-			$this->fullorder->save(array('state'=>216),$v['id']);
-		}
-		echo "ok";	
-		die;
+		// foreach($fdata as $k => $v){
+		// 	$this->fullorder->save(array('state'=>216),$v['id']);
+		// }
+		// echo "ok";	
+		// die;
 		$dataorder = array();$datashop = array();$dataex = array();$datack = array();
 		//  订单加入键值-k 
 		$fdata = $this->fullorder->find_all("express = 81 and librarytime >= 1761580800 and librarytime <= 1764172800 and state = 207");//,'source,id,orderinfo,waybill,shop,express,type,msg,bname,state,client,name,phone,zipcode,address,email,shopify'