Sign in

MES / haiNeng · Files

Logo

GitLab

  • Back to group
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • haiNeng
  • sys
  • Hh.Mes.UEditor
  • Handlers
  • NotSupportedHandler.cs
  • 移植二维码扫码,
    1e4a69c4
    HuXiYu authored
    2023-12-04 11:38:36 +0800  
    Browse Code ยป
NotSupportedHandler.cs 417 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
using Microsoft.AspNetCore.Http;

namespace UEditorNetCore.Handlers
{
    public class NotSupportedHandler : Handler
    {
        public NotSupportedHandler(HttpContext context)
            : base(context)
        {
        }

        public override void Process()
        {
            WriteJson(new
            {
                state = "action is empty or action not supperted."
            });
        }
    }
}