testPDA.ashx 552 B

123456789101112131415161718192021222324252627
  1. <%@ WebHandler Language="C#" Class="testPDA" %>
  2. using System;
  3. using System.Web;
  4. using DK.XuWei.WebMes;
  5. /// <summary>
  6. /// 仅用于PDA测试接口,不做任何处理
  7. /// </summary>
  8. public class testPDA : IHttpHandler
  9. {
  10. public void ProcessRequest(HttpContext context)
  11. {
  12. context.Response.ContentType = "text/plain";
  13. context.Response.Write(new JsonResult(JsonStatus.success) { message = "连接成功!" }.ToJson());
  14. }
  15. public bool IsReusable
  16. {
  17. get
  18. {
  19. return false;
  20. }
  21. }
  22. }