瀏覽代碼

提交smt数据

lvhao 3 月之前
父節點
當前提交
50961df77f
共有 1 個文件被更改,包括 4 次插入15 次删除
  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);