diff --git a/projects/IoTCenter/Areas/Admin/Views/Shared/_Menu.cshtml b/projects/IoTCenter/Areas/Admin/Views/Shared/_Menu.cshtml
index c570bc3d..fb4eb7fe 100644
--- a/projects/IoTCenter/Areas/Admin/Views/Shared/_Menu.cshtml
+++ b/projects/IoTCenter/Areas/Admin/Views/Shared/_Menu.cshtml
@@ -129,10 +129,6 @@
}
- @if (HasPermission("Read-NodeCategory"))
- {
-
节点分类管理
- }
@if (HasPermission("Read-LiveRecord"))
{
回放管理
diff --git a/projects/IoTCenter/Areas/Admin/Views/_ViewStart.cshtml b/projects/IoTCenter/Areas/Admin/Views/_ViewStart.cshtml
index ab23e9a2..1af6e494 100644
--- a/projects/IoTCenter/Areas/Admin/Views/_ViewStart.cshtml
+++ b/projects/IoTCenter/Areas/Admin/Views/_ViewStart.cshtml
@@ -1,3 +1,3 @@
@{
- Layout = "/Views/Shared/_Layout.cshtml";
+ Layout = "_Layout";
}
\ No newline at end of file
diff --git a/projects/IoTCenter/Controllers/HomeController.cs b/projects/IoTCenter/Controllers/HomeController.cs
index 483dc066..c499e201 100644
--- a/projects/IoTCenter/Controllers/HomeController.cs
+++ b/projects/IoTCenter/Controllers/HomeController.cs
@@ -1,8 +1,5 @@
-using Application.Domain.Entities;
-using Infrastructure.Data;
-using Microsoft.AspNetCore.Authorization;
+using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
-using Microsoft.Extensions.Configuration;
namespace IoTCenter.Controllers
{
@@ -11,17 +8,8 @@ namespace IoTCenter.Controllers
[ApiExplorerSettings(IgnoreApi = true)]
public class HomeController : Controller
{
- private readonly IConfiguration _cfg;
- private readonly IRepository _organSceneRepo;
- private readonly IRepository _areaRepo;
-
- public HomeController(
- IConfiguration cfg,
- IRepository organSceneRepo, IRepository areaRepo)
+ public HomeController()
{
- this._cfg = cfg;
- this._organSceneRepo = organSceneRepo;
- this._areaRepo = areaRepo;
}
[AllowAnonymous]
@@ -55,4 +43,4 @@ namespace IoTCenter.Controllers
return View();
}
}
-}
+}
\ No newline at end of file
diff --git a/projects/IoTCenter/appsettings.json b/projects/IoTCenter/appsettings.json
index 1cce551d..18635c92 100644
--- a/projects/IoTCenter/appsettings.json
+++ b/projects/IoTCenter/appsettings.json
@@ -92,7 +92,7 @@
"RouteId": "minio",
"ClusterId": "cluster1",
"Match": {
- "Path": "/dfs"
+ "Path": "/dfs/{**catch-all}"
}
}
],