2023-01-20 10:53:34 +08:00

37 lines
972 B
Go

// ================================================================================
// Code generated by GoFrame CLI tool. DO NOT EDIT.
// You can delete these comments if you wish manually maintain this interface file.
// ================================================================================
package service
import (
"context"
"github.com/tiger1103/gfast/v3/api/v1/system"
"github.com/tiger1103/gfast/v3/internal/app/system/model/do"
)
type (
ISysJobLog interface {
Add(ctx context.Context, data *do.SysJobLog) (err error)
List(ctx context.Context, req *system.SysJobLogListReq) (listRes *system.SysJobLogListRes, err error)
Delete(ctx context.Context, logIds []uint64) (err error)
}
)
var (
localSysJobLog ISysJobLog
)
func SysJobLog() ISysJobLog {
if localSysJobLog == nil {
panic("implement not found for interface ISysJobLog, forgot register?")
}
return localSysJobLog
}
func RegisterSysJobLog(i ISysJobLog) {
localSysJobLog = i
}