RoadFlow2.1 临时演示

GetApps.ashx.cs 730B

1234567891011121314151617181920212223242526272829
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. namespace WebForm.Platform.RoleApp
  6. {
  7. /// <summary>
  8. /// GetApps 的摘要说明
  9. /// </summary>
  10. public class GetApps : IHttpHandler
  11. {
  12. public void ProcessRequest(HttpContext context)
  13. {
  14. context.Response.ContentType = "text/plain";
  15. string type = context.Request.Form["type"];
  16. string appid = context.Request.Form["value"];
  17. context.Response.Write(new RoadFlow.Platform.AppLibrary().GetAppsOptions(type.ToGuid(), appid));
  18. }
  19. public bool IsReusable
  20. {
  21. get
  22. {
  23. return false;
  24. }
  25. }
  26. }
  27. }