lvhao před 1 dnem
rodič
revize
63324f5834
1 změnil soubory, kde provedl 6 přidání a 6 odebrání
  1. 6 6
      core/CoreApp/models/Model_apitt.php

+ 6 - 6
core/CoreApp/models/Model_apitt.php

@@ -433,16 +433,16 @@ function __construct(){
 			$order_line_item_ids[] = $v['id'];
 		}
 		$post = [
-			"order_line_item_ids"=>$order_line_item_ids,
+			"order_line_item_ids"=>["32132124331234"],
 			"weight"=>[
-				"value"=>"400",
+				"value"=>"0.4",
     			"unit"=>"GRAM"
 			],
 			"dimension"=>[
-				"length"=> "15",
-				"width"=> "10",
-				"height"=> "5",
-				"unit"=> "CM"
+				"length"=> "0.3",
+				"width"=> "0.2",
+				"height"=> "CM",
+				"unit"=> "INCH"
 			]
 		];
 		var_dump(json_encode($post,JSON_UNESCAPED_UNICODE));