You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
485 B

2 years ago
  1. using System.Web;
  2. namespace EasyBL.Handler
  3. {
  4. /// <summary>
  5. /// NotSupportedHandler 的摘要说明
  6. /// </summary>
  7. public class NotSupportedHandler : Handler
  8. {
  9. public NotSupportedHandler(HttpContext context)
  10. : base(context)
  11. {
  12. }
  13. public override void Process()
  14. {
  15. WriteJson(new
  16. {
  17. state = "action 参数为空或者 action 不被支持。"
  18. });
  19. }
  20. }
  21. }