|
@@ -30,14 +30,17 @@ class Model_express_tt extends Lin_Model {
|
|
|
|
|
|
|
|
//获取快递服务信息
|
|
//获取快递服务信息
|
|
|
$res = $this->getExpressCompany($info,$shop_info[0]);
|
|
$res = $this->getExpressCompany($info,$shop_info[0]);
|
|
|
|
|
+ print_r($res);
|
|
|
if($res['x'] == 0){
|
|
if($res['x'] == 0){
|
|
|
return $res;
|
|
return $res;
|
|
|
}
|
|
}
|
|
|
$res1 = $this->createExpressLabel($res['data'],$shop_info[0]);
|
|
$res1 = $this->createExpressLabel($res['data'],$shop_info[0]);
|
|
|
|
|
+ print_r($res1);
|
|
|
if($res1['x'] == 0){
|
|
if($res1['x'] == 0){
|
|
|
return $res1;
|
|
return $res1;
|
|
|
}
|
|
}
|
|
|
$res2 = $this->downloadExpressLabel($res['data'],$shop_info[0]);
|
|
$res2 = $this->downloadExpressLabel($res['data'],$shop_info[0]);
|
|
|
|
|
+ print_r($res2);
|
|
|
if($res2['x'] == 0){
|
|
if($res2['x'] == 0){
|
|
|
return $res2;
|
|
return $res2;
|
|
|
}
|
|
}
|