mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-05-04 19:11:27 +08:00
24 lines
354 B
Go
24 lines
354 B
Go
package jobs
|
|
|
|
import (
|
|
"log"
|
|
)
|
|
|
|
type CronDeviceHandle struct {
|
|
}
|
|
|
|
func (t CronDeviceHandle) Exec(arg any, content any) error {
|
|
log.Println("执行设备任务", arg, content)
|
|
|
|
return nil
|
|
}
|
|
|
|
type CronProductHandle struct {
|
|
}
|
|
|
|
func (t CronProductHandle) Exec(arg any, content any) error {
|
|
log.Println("执行产品任务", arg, content)
|
|
|
|
return nil
|
|
}
|