让任务可以提供自身使用设备

This commit is contained in:
2025-11-02 20:47:25 +08:00
parent 4b0be88fca
commit 687c2f12ee
6 changed files with 119 additions and 33 deletions

View File

@@ -65,3 +65,7 @@ func (d *DelayTask) parseParameters() error {
func (d *DelayTask) OnFailure(executeErr error) {
d.logger.Errorf("任务 %v: 执行失败: %v", d.executionTask.TaskID, executeErr)
}
func (d *DelayTask) ResolveDeviceIDs() ([]uint, error) {
return []uint{}, nil
}