|
|
@@ -112,18 +112,18 @@ class Model_apittv1 extends Lin_Model {
|
|
|
}
|
|
|
|
|
|
public function downloadLabel($package_id,$shop,$info){
|
|
|
- $rr1 = $this->apitt->getExpressCompany($info,$shop);
|
|
|
- var_dump($rr1);
|
|
|
- die;
|
|
|
- if($rr1['x'] == 0){
|
|
|
- return $rr1;
|
|
|
- }
|
|
|
- $info = $rr1['data'];
|
|
|
- if(is_string($info['extra_text'])){
|
|
|
- $info['extra_text'] = json_decode($info['extra_text'],true);
|
|
|
- }
|
|
|
- // $res = $this->apitt->downloadLabel($package_id,$shop,$info);
|
|
|
- // return $res;
|
|
|
+ // $rr1 = $this->apitt->getExpressCompany($info,$shop);
|
|
|
+ // var_dump($rr1);
|
|
|
+ // die;
|
|
|
+ // if($rr1['x'] == 0){
|
|
|
+ // return $rr1;
|
|
|
+ // }
|
|
|
+ // $info = $rr1['data'];
|
|
|
+ // if(is_string($info['extra_text'])){
|
|
|
+ // $info['extra_text'] = json_decode($info['extra_text'],true);
|
|
|
+ // }
|
|
|
+ $res = $this->apitt->downloadLabel($package_id,$shop,$info);
|
|
|
+ return $res;
|
|
|
}
|
|
|
// public function downloadLabel($package_id,$shop,$info){
|
|
|
// $url = 'https://open-api.tiktokglobalshop.com';
|