@@ -76,7 +76,7 @@ class Aatest extends Start_Controller {
// 'do_interval'=>1,
// 'create_time'=>time()
// ]);
- die;
+ //die;
if($arg == 'fout')
{
//$this->_fout();
@@ -135,9 +135,12 @@ class Aatest extends Start_Controller {
// die;
- $list = $this->fullorder->get_waybill($order_no);
- $v = $list;
- $fs = $this->cne->get_logistics_yskx($v);
+
+ $fs = $this->cne->get_logistics_yskx([
+ [
+ "TrackNumber"=>'880645671607'
+ ]
+ ]);
//@$fs = $this->usps->get_logistics_new($v);
// $csck[] = array($v['number'],$fs['f'],$fs['content']);
// if(!isset($fs['f']))
@@ -208,6 +208,8 @@ class Ac extends Start_Controller {
}
$fullorder['pt'] = $pt;
$fullorder['printnumber'] += 2;
+ $fullorder['address'] = "221 5TH ST # APT305";
+ $fullorder['city'] = "W SACRAMENTO";
// echo "<pre>";
// var_dump($fullorder['sbbm']);
@@ -234,12 +236,12 @@ class Ac extends Start_Controller {
// $fullorder['bx'] = 110;
//$fullorder['qm'] = 1;
echo "<pre>";
- var_dump($fullorder['printcode']);
//$fullorder['printcode'] = 'usps_priority';
- $b = $this->cne->get_data($fullorder);
- print_r($b);
+// $b = $this->usps->get_data($fullorder);
+// print_r($b);
+// die;
// $b = $this->fedexv1->get_data($fullorder);
// var_dump($b);
@@ -1163,7 +1163,9 @@ function __construct(){
// $tmp_express_str = date("Y-m-d H:i:s")." [] ".$res['statusSummary']."<br />";
// }
//$xq = $tmp_express_str.$xq;
$list = array('exstate'=>$exstate,'content'=>$content,'f'=>1,'data'=>trim($xq,'<br />'),'s'=>$res);//正常可发送站内信
+ $this->logic_ding->sendToDing("usps获取快递轨迹更新".json_encode($list));
return $list;