lvhao 2 napja
szülő
commit
91e27b2bfd
1 módosított fájl, 12 hozzáadás és 12 törlés
  1. 12 12
      core/CoreApp/models/Model_apittv1.php

+ 12 - 12
core/CoreApp/models/Model_apittv1.php

@@ -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';