Jelajahi Sumber

提交smt数据

lvhao 3 bulan lalu
induk
melakukan
50961df77f
1 mengubah file dengan 4 tambahan dan 15 penghapusan
  1. 4 15
      core/CoreApp/models/Model_apismt.php

+ 4 - 15
core/CoreApp/models/Model_apismt.php

@@ -140,21 +140,10 @@ function __construct(){
         //设置post数据
 		$post = array();
 		$post['order_out'] = 1;
-
-		$post['sub_trade_order_list'] = [
-			[
-				"send_type"=>$all,
-				"shipment_list"=>[
-					"logistics_no"=>$whlabel,
-					"service_name"=> $ex,
-				],
-				'sub_trade_order_index'=>1,
-			]
-		];
-		$post['old_logistics_no'] = $whlabel;
-		$post['trade_order_id']=$orderinfo;
-		$post['old_service_name']=$ex;
-		
+		$post['whlabel'] = $whlabel;
+		$post['all'] = $all;
+		$post['orderinfo'] = $orderinfo;
+		$post['ex'] = $ex;
 		$post['code'] = $code;
         curl_setopt($ch, CURLOPT_POSTFIELDS,http_build_query($post));
 		$res = curl_exec($ch);