|
@@ -76,7 +76,7 @@ class Aatest extends Start_Controller {
|
|
|
}elseif($arg == 'logistic'){
|
|
|
$this->_logistic($arg_array);
|
|
|
}elseif($arg == 'th'){
|
|
|
- $this->_th($arg_array);
|
|
|
+ // $this->_th($arg_array);
|
|
|
}else{
|
|
|
|
|
|
$this->_a($arg_array);
|
|
@@ -85,7 +85,7 @@ class Aatest extends Start_Controller {
|
|
|
}
|
|
|
|
|
|
public function _th($arg_array){
|
|
|
- //die;
|
|
|
+ die;
|
|
|
if(empty($arg_array)){
|
|
|
die(1);
|
|
|
}
|
|
@@ -98,13 +98,13 @@ class Aatest extends Start_Controller {
|
|
|
exit(2);
|
|
|
}
|
|
|
|
|
|
- $r = $this->usps->get_return_new($data);
|
|
|
+ $r = $this->usps->get_return($data);
|
|
|
echo "<pre>";
|
|
|
print_r($r);
|
|
|
}
|
|
|
|
|
|
//物流轨迹
|
|
|
- public function _logistic(){
|
|
|
+ public function _logistic($arg_array){
|
|
|
|
|
|
echo "<pre>";
|
|
|
if(empty($arg_array)){
|
|
@@ -124,7 +124,7 @@ class Aatest extends Start_Controller {
|
|
|
// die;
|
|
|
|
|
|
|
|
|
- $list = $this->fullorder->get_number($order_no);
|
|
|
+ $list = $this->fullorder->get_waybill($order_no);
|
|
|
$v = $list;
|
|
|
@$fs = $this->usps->get_logistics_new($v);
|
|
|
// $csck[] = array($v['number'],$fs['f'],$fs['content']);
|