35 lines
938 B
C#
35 lines
938 B
C#
using Microsoft.AspNetCore.Authorization;
|
|
using YLErp.Modules.ApiModule;
|
|
|
|
namespace YLErp.Web.Controllers
|
|
{
|
|
/// <summary>
|
|
/// 系统信息控制器
|
|
/// </summary>
|
|
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");
|
|
}
|
|
}
|
|
} |