| 
					
				 | 
			
			
				@@ -2,6 +2,7 @@ using Common.Request; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 using Common.Request.cloud; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 using Utils; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 using Common; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+using Newtonsoft.Json.Linq; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /// <summary> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /// 订单导入 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /// </summary> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -103,4 +104,48 @@ public static class CloudPrint 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         var result = HttpUtils.doPostForm(ApiInfoConstant.BILL_PARCELS_URL,request); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return result; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    /// <summary> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    /// 复打 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    /// </summary> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    /// <param name="param"></param> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    /// <returns></returns> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    public static string callPrintOld(BaseReq<PrintOldParam> param) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        int code = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        string msg = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        string data = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        string errorStr = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        try 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            param.method = ApiInfoConstant.CLOUD_PRINT_OLD_METHOD; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            var request = ObjectToDictionaryUtils.ObjectToMap(param); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (request == null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                msg = "body参数错误"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (HttpUtils.doPostForm(ApiInfoConstant.ELECTRONIC_ORDER_PIC_URL, request, out data, out errorStr)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                code = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                msg = "操作成功"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                msg = errorStr; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        catch (System.Exception ex) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            msg = "操作失败:" + ex.ToString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        JObject result = new JObject(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        result.Add("code", code); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        result.Add("msg", msg); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        result.Add("data", Newtonsoft.Json.JsonConvert.DeserializeObject<JObject>(data)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return result.ToString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 |