25 lines
		
	
	
		
			702 B
		
	
	
	
		
			C#
		
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			702 B
		
	
	
	
		
			C#
		
	
	
	
| using System.Collections.Generic;
 | |
| using System.ServiceModel;
 | |
| using System.ServiceModel.Web;
 | |
| using DeiNiu.wms.Data.Model.Wcf;
 | |
| using DeiNiu.Wcf.erp.wcfData;
 | |
| using DeiNiu.Utils;
 | |
| 
 | |
| namespace DeiNiu.Wcf
 | |
| {
 | |
|     [ServiceContract]
 | |
|     internal interface IOrder
 | |
|     {
 | |
|         [OperationContract]
 | |
|         [WebInvoke(Method = "POST", ResponseFormat = WebMessageFormat.Json, RequestFormat = WebMessageFormat.Json,
 | |
|       UriTemplate = "complete")]
 | |
|         Result complete(string orderNo);
 | |
| 
 | |
|         [OperationContract]
 | |
|         [WebInvoke(Method = "POST", ResponseFormat = WebMessageFormat.Json, RequestFormat = WebMessageFormat.Json,
 | |
|         UriTemplate = "cancel")]
 | |
|         Result cancel(string orderNo);
 | |
| 
 | |
|     }
 | |
| }
 |