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

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

43 lines
1.7 KiB
Plaintext

// Copyright (c) 2007-2010, Intel Corporation. All rights reserved.
[Version ( "7.0.0" ),
Description ( "Represents the HTTP Proxy Service." )]
class IPS_HTTPProxyService : CIM_Service {
[Description (
"This property defines whether the HTTP proxies sync "
"(from local) is allowed" )]
boolean SyncEnabled;
[Description (
"Adds a Proxy access point that will be used when FW "
"needs to open a user-initiated connection" ),
ValueMap { "0", "1", "16", "23", "36", "2058"},
Values { "PT_STATUS_SUCCESS", "PT_STATUS_INTERNAL_ERROR",
"PT_STATUS_NOT_PERMITTTED", "PT_STATUS_MAX_LIMIT_REACHED",
"PT_STATUS_INVALID_PARAMETER", "PT_STATUS_DUPLICATE" }]
uint32 AddProxyAccessPoint(
[Required, IN, Description (
"A string holding the IP address or FQDN of the server"
),
MaxLen ( 256 )]
string AccessInfo,
[Required, IN, Description (
"An enumerated integer describing the format and "
"interpretation of the AccessInfo property." ),
ValueMap { "3", "4", "201" },
Values { "IPv4 Address", "IPv6 Address", "FQDN" }]
uint16 InfoFormat,
[Required, IN, Description (
"The port to be used for that HTTP proxy." )]
uint16 Port,
[Required, IN, Description (
"Domain name of the network this proxy belongs to" ),
MaxLen ( 192 )]
string NetworkDnsSuffix,
[OUT, Description (
"A reference to the created Proxy Access Point if "
"the operation succeeded." )]
IPS_HTTPProxyAccessPoint REF ProxyAccessPoint);
};