|
|
@@ -266,15 +266,13 @@ class Model_express_tt extends Lin_Model {
|
|
|
}
|
|
|
$res = $this->apitt->createLabel($info,$shop_info);
|
|
|
if(empty($res)){
|
|
|
- if(strpos($res['message'],'These orders are already shipped.')!== false){
|
|
|
- return $this->getDetail($info,$shop_info);
|
|
|
- }else{
|
|
|
- return [
|
|
|
- 'x'=>0,
|
|
|
- 'Description'=>"返回信息为空",
|
|
|
- ];
|
|
|
- }
|
|
|
-
|
|
|
+ return [
|
|
|
+ 'x'=>0,
|
|
|
+ 'Description'=>"返回信息为空",
|
|
|
+ ];
|
|
|
+ }
|
|
|
+ if(strpos($res['message'],'These orders are already shipped.')!== false){
|
|
|
+ return $this->getDetail($info,$shop_info);
|
|
|
}
|
|
|
if($res['code'] != 0){
|
|
|
return [
|