index.ashx 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <%@ WebHandler Language="C#" Class="testQianRun" %>
  2. using System;
  3. using System.Web;
  4. public class testQianRun : IHttpHandler
  5. {
  6. public void ProcessRequest(HttpContext context)
  7. {
  8. context.Response.ContentType = "text/html";
  9. //接口1
  10. context.Response.Write("1GetGoodsCode<br>");
  11. context.Response.Write(QianRunApi.GetGoodsCode("","")+"<br><br>");
  12. ////接口2
  13. //context.Response.Write("2CreateOutStorageOrder<br>");
  14. //context.Response.Write(QianRunApi.CreateOutStorageOrder("1","123","1","1",10,1,"2020-07-06")+"<br><br>");
  15. ////接口3
  16. //context.Response.Write("3UpdateOrderLevel<br>");
  17. //context.Response.Write(QianRunApi.UpdateOrderLevel("123",1,"2020-07-06")+"<br><br>");
  18. ////接口4
  19. //context.Response.Write("4GetOutStorageOrderStatus<br>");
  20. //context.Response.Write(QianRunApi.GetOutStorageOrderStatus("123")+"<br><br>");
  21. ////接口5
  22. //context.Response.Write("5SetGoodsReCheckFlag<br>");
  23. //context.Response.Write(QianRunApi.SetGoodsReCheckFlag("123#234#345") + "<br><br>");
  24. }
  25. public bool IsReusable
  26. {
  27. get
  28. {
  29. return false;
  30. }
  31. }
  32. }