|
|
@@ -2,7 +2,7 @@
|
|
|
class Model_job_getyuntuwaybillid extends Lin_Model {
|
|
|
function __construct(){
|
|
|
parent::__construct();
|
|
|
- $this->load->_model("Model_yuntu","yuntu");
|
|
|
+ $this->load->_model("Model_yuntuus","yuntuus");
|
|
|
$this->load->_model("Model_fullorder","fullorder");
|
|
|
$this->load->_model("Model_fullordersmt","fullordersmt");
|
|
|
$this->load->_model("Model_fullordertt","fullordertt");
|
|
|
@@ -13,7 +13,7 @@ class Model_job_getyuntuwaybillid extends Lin_Model {
|
|
|
$end_time = time() - 5 * 3600 * 24;
|
|
|
$start_time = time() ;
|
|
|
//快递为3pe 76 出库时间十天前 waybillid 不能为空
|
|
|
- $where = "express in (66,67) and librarytime >= ".$end_time ." and librarytime <= ".$start_time." ";
|
|
|
+ $where = "express in (82) and librarytime >= ".$end_time ." and librarytime <= ".$start_time." ";
|
|
|
// $where = "express in (66,67) ";
|
|
|
$fields = "id,number,waybill,waybillid,librarytime,express";
|
|
|
echo "<pre>";
|
|
|
@@ -97,7 +97,7 @@ class Model_job_getyuntuwaybillid extends Lin_Model {
|
|
|
|
|
|
foreach($arr as $item){
|
|
|
sleep(1);
|
|
|
- $res = $this->yuntu->getTransferNumber($item);
|
|
|
+ $res = $this->yuntuus->getTransferNumber($item);
|
|
|
//$this->logic_ding->sendToDing("云途转单号获取信息返回信息:".json_encode($res));
|
|
|
if(isset($res['result'])){
|
|
|
if(isset($res['result']['carriers'])){
|