初始化提交
This commit is contained in:
25
电子展板/Controller/IndexController.cs
Normal file
25
电子展板/Controller/IndexController.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using System.Collections.Generic;
|
||||
using System.Web.Http;
|
||||
|
||||
namespace 电子展板.Controller
|
||||
{
|
||||
public class IndexController : BaseController
|
||||
{
|
||||
//[HttpGet, Route("index/error")]
|
||||
//public ActionResult Error()
|
||||
//{
|
||||
// return Html("/Sys/Index/Error");
|
||||
//}
|
||||
|
||||
/// <summary>
|
||||
/// 后台首页视图。
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpGet, Route("")]
|
||||
public ActionResult Index()
|
||||
{
|
||||
return Resouce("/Views/Login.html", "text/html");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user