UEditorController.cs 501 Bytes
using Hh.Mes.Service.SystemAuth;
using Microsoft.AspNetCore.Mvc;
using UEditorNetCore;

namespace WebMvc
{
    [Route("api/[controller]/[action]")]
    public class UEditorController : BaseController
    {
        private readonly UEditorService ue;
        public UEditorController(IAuth authUtil,UEditorService ue):base(authUtil)
        {
            this.ue = ue;
        }

        [HttpGet, HttpPost]
        public void Do()
        {
            ue.DoAction(HttpContext);
        }
    }
}