为什么我加 Route 页面浏览变成文件下载了?
namespace ************.controllers
{
[Route("admin/[controller]/[action]")]
public class *******Controller : Controller
{
public IList<String> Index()
{
return new List<string> { "******", "*****" };
}
}
}
namespace ************.controllers
{
[Route("admin/[controller]/[action]")]
public class *******Controller : Controller
{
public IList<String> Index()
{
return new List<string> { "******", "*****" };
}
}
}
2020-01-05
举报