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

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

43 lines
1.9 KiB
Plaintext

// Copyright (c) 2007-2010, Intel Corporation. All rights reserved.
[Version ( "8.0.0" ),
Description (
"AMT Alarm Clock Service derived from Service and provides the "
"ability to set an alarm time to turn the host computer system on. "
"Setting an alarm time is done by calling \"AddAlarm\" method."
"\"NextAMTAlarmTime\" and \"AMTAlarmClockInterval\" properties are deprecated "
"and \"AddAlarm\" should be used instead. ")]
class AMT_AlarmClockService : CIM_Service {
[Description (
"This method creates an alarm that would wake the system at a given time."
"The method receives as input an embedded instance of type IPS_AlarmClockOccurrence, with the following fields "
"set: StartTime, Interval, InstanceID, DeleteOnCompletion. Upon success, the method creates an instance of "
"IPS_AlarmClockOccurrence which is associated with AlarmClockService."
"The method would fail if 5 instances or more of IPS_AlarmClockOccurrence already exist in the system.")]
uint32 AddAlarm (
[IN, Required, Description(
"A template for creating a new alarm of type IPS_AlarmClockOccurrence."),
EmbeddedInstance ( "IPS_AlarmClockOccurrence" )]
string AlarmTemplate,
[OUT, Description(
"A reference to the created instance of IPS_AlarmClockOccurrence."
)]
IPS_AlarmClockOccurrence REF AlarmClock
);
[Deprecated{"AddAlarm"}, Description (
"Specifies the next AMT alarm time. \"NextAMTAlarmTime\" "
"must be in Datetime format."
"This property is deprecated, you should use the AddAlarm() method instead.")]
datetime NextAMTAlarmTime;
[Deprecated{"AddAlarm"}, Description (
"Specifies the alarm time interval. "
"\"AMTAlarmClockInterval\" must be in Interval format."
"This property is deprecated, you should use the AddAlarm() method instead.")]
datetime AMTAlarmClockInterval;
};