fix(drivers): rainyun run away

This commit is contained in:
mei
2026-08-13 14:50:08 +08:00
parent 6990166dfc
commit 868731c95e
3 changed files with 18 additions and 0 deletions
+12
View File
@@ -19,3 +19,15 @@ func (e *RainyunWorkorderExecutor) Execute(ctx context.Context, rule *model.Rule
return SendRainyunWorkorderMsg(ctx, rule)
}
// RainyunRunAwayExecutor 雨云跑路执行器
type RainyunRunAwayExecutor struct{}
func (e *RainyunRunAwayExecutor) GetType() string {
return "rainyun-runaway"
}
func (e *RainyunRunAwayExecutor) Execute(ctx context.Context, rule *model.Rule) error {
log.Printf("执行雨云跑路规则: %s", rule.Name)
return RainyunRunAway(ctx, rule)
}