| 1234567891011121314151617181920212223242526272829303132333435363738 |
- <%@ WebHandler Language="C#" Class="testQianRun" %>
- using System;
- using System.Web;
- public class testQianRun : IHttpHandler
- {
- public void ProcessRequest(HttpContext context)
- {
- context.Response.ContentType = "text/html";
- //接口1
- context.Response.Write("1GetGoodsCode<br>");
- context.Response.Write(QianRunApi.GetGoodsCode("","")+"<br><br>");
- ////接口2
- //context.Response.Write("2CreateOutStorageOrder<br>");
- //context.Response.Write(QianRunApi.CreateOutStorageOrder("1","123","1","1",10,1,"2020-07-06")+"<br><br>");
- ////接口3
- //context.Response.Write("3UpdateOrderLevel<br>");
- //context.Response.Write(QianRunApi.UpdateOrderLevel("123",1,"2020-07-06")+"<br><br>");
- ////接口4
- //context.Response.Write("4GetOutStorageOrderStatus<br>");
- //context.Response.Write(QianRunApi.GetOutStorageOrderStatus("123")+"<br><br>");
- ////接口5
- //context.Response.Write("5SetGoodsReCheckFlag<br>");
- //context.Response.Write(QianRunApi.SetGoodsReCheckFlag("123#234#345") + "<br><br>");
- }
- public bool IsReusable
- {
- get
- {
- return false;
- }
- }
- }
|