lvfengfree b92e1119ae fix: 修复菜单为空问题 - 移除后端过滤home路由的错误逻辑
- 修复RouteService中错误过滤home路由的问题
- 后端现在正确返回所有用户有权限的路由
- 添加设备管理相关功能(列表、在线监控、电源管理、远程监控)
- 添加详细的修复文档和重启脚本
- 更新权限配置脚本

问题根源:后端代码中有逻辑会过滤掉home路由,导致前端收到空数组,无法生成菜单
解决方案:移除过滤home路由的逻辑,让后端返回所有有权限的路由
2026-03-01 09:50:19 +08:00

231 lines
8.3 KiB
C#

//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace UCT.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
public sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default {
get {
return defaultInstance;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("1")]
public int GRACFUL_SHUTDOWN_TIMEOUT {
get {
return ((int)(this["GRACFUL_SHUTDOWN_TIMEOUT"]));
}
set {
this["GRACFUL_SHUTDOWN_TIMEOUT"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string HOST_NAME {
get {
return ((string)(this["HOST_NAME"]));
}
set {
this["HOST_NAME"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string USER_NAME {
get {
return ((string)(this["USER_NAME"]));
}
set {
this["USER_NAME"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool TLS_ENABLE {
get {
return ((bool)(this["TLS_ENABLE"]));
}
set {
this["TLS_ENABLE"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool KRB_ENABLE {
get {
return ((bool)(this["KRB_ENABLE"]));
}
set {
this["KRB_ENABLE"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string ROOT_CERTIFICATE_NAME {
get {
return ((string)(this["ROOT_CERTIFICATE_NAME"]));
}
set {
this["ROOT_CERTIFICATE_NAME"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string PROXY_HOSTNAME {
get {
return ((string)(this["PROXY_HOSTNAME"]));
}
set {
this["PROXY_HOSTNAME"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string PROXY_PORT {
get {
return ((string)(this["PROXY_PORT"]));
}
set {
this["PROXY_PORT"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string PROXY_USERNAME {
get {
return ((string)(this["PROXY_USERNAME"]));
}
set {
this["PROXY_USERNAME"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string CLIENT_CERTIFICATE {
get {
return ((string)(this["CLIENT_CERTIFICATE"]));
}
set {
this["CLIENT_CERTIFICATE"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool USE_GRACFUL_SHUTDOWN_BEFORE_AMT_REBOOT {
get {
return ((bool)(this["USE_GRACFUL_SHUTDOWN_BEFORE_AMT_REBOOT"]));
}
set {
this["USE_GRACFUL_SHUTDOWN_BEFORE_AMT_REBOOT"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool MTLS {
get {
return ((bool)(this["MTLS"]));
}
set {
this["MTLS"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("2")]
public uint LOG_LEVEL {
get {
return ((uint)(this["LOG_LEVEL"]));
}
set {
this["LOG_LEVEL"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("True")]
public bool CREATE_LOG {
get {
return ((bool)(this["CREATE_LOG"]));
}
set {
this["CREATE_LOG"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool USE_CIRA {
get {
return ((bool)(this["USE_CIRA"]));
}
set {
this["USE_CIRA"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string CONNECTION_HISTORY {
get {
return ((string)(this["CONNECTION_HISTORY"]));
}
set {
this["CONNECTION_HISTORY"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool MTLS_ENABLE {
get {
return ((bool)(this["MTLS_ENABLE"]));
}
set {
this["MTLS_ENABLE"] = value;
}
}
}
}