using Microsoft.AspNetCore.Authorization; using YLErp.Modules.ApiModule; namespace YLErp.Web.Controllers { /// /// 系统信息控制器 /// public class TapConsoleController : BaseController { [AllowAnonymous] public ActionResult Index() { return View(); } public ActionResult AjaxGetSysInfo() { var json = TapConsoleApiHelper.GetSysInfo(); return Content(json, "application/json"); } public ActionResult AjaxGetDataCacheTables() { var json = TapConsoleApiHelper.GetDataCacheTables(); return Content(json, "application/json"); } public ActionResult AjaxGetDataCacheData(string tableName) { var json = TapConsoleApiHelper.GetDataCacheData(tableName); return Content(json, "application/json"); } } }