|
|
@@ -37,6 +37,12 @@ class Model_express_tt extends Lin_Model {
|
|
|
if($res1['x'] == 0){
|
|
|
return $res1;
|
|
|
}
|
|
|
+ if(is_string($info['extra_text'])){
|
|
|
+ $info['extra_text'] = json_decode($info['extra_text'],true);
|
|
|
+ }
|
|
|
+ if(empty($info['extra_text']['label_info'])){
|
|
|
+ sleep(2);
|
|
|
+ }
|
|
|
$res2 = $this->downloadExpressLabel($res1['data'],$shop_info[0]);
|
|
|
return $res2;
|
|
|
|