|
@@ -50,6 +50,7 @@ class Aatest extends Start_Controller {
|
|
|
$this->load->_model('Model_logic_tools','logic_tools');
|
|
|
$this->load->_model('Model_returngoods','returngoods');
|
|
|
$this->load->_model('Model_returnlogs','returnlogs');
|
|
|
+
|
|
|
}
|
|
|
|
|
|
//定义方法的调用规则 获取URI第二段值
|
|
@@ -70,6 +71,22 @@ class Aatest extends Start_Controller {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ //物流轨迹
|
|
|
+ public function _logistic(){
|
|
|
+ echo "<pre>";
|
|
|
+ $list = $this->fullorder->findall("waybill = 9205590251001335234515");
|
|
|
+ $v = $list['0'];
|
|
|
+ @$fs = $this->usps->get_logistics($v);
|
|
|
+ $csck[] = array($v['number'],$fs['f'],$fs['content']);
|
|
|
+ if(!isset($fs['f']))
|
|
|
+ {
|
|
|
+ $fs = $this->usps->get_logistics($v);
|
|
|
+ }
|
|
|
+ var_dump($fs);
|
|
|
+ die;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
public function _getorder(){
|
|
|
|
|
|
$name = 'SuperNova';
|
|
@@ -109,9 +126,9 @@ class Aatest extends Start_Controller {
|
|
|
}
|
|
|
|
|
|
public function _a($arg_array){
|
|
|
- $str = "420191079200190327908717115969";
|
|
|
- echo substr($str,8);
|
|
|
+ $this->_logistic();
|
|
|
die;
|
|
|
+
|
|
|
$time = time();
|
|
|
$jiami = "alipearlhair+".(string)$time;
|
|
|
echo json_encode([
|