@@ -16,6 +16,7 @@ namespace MySystem
string[] locations = {
"/Areas/Admin/Views/Admin/{1}/{0}.cshtml",
"/Areas/Admin/Views/Base/{1}/{0}.cshtml",
+ "/Views/{1}/{0}.cshtml",
};
return locations.Union(viewLocations);
}
@@ -19,5 +19,9 @@ namespace MySystem.Controllers
_logger = logger;
+ public IActionResult Index()
+ {
+ return View();
+ }
@@ -0,0 +1 @@
+<h2>来客吧main2</h2>