Files
admin-go/internal/app/system/service/sys_login_log.go
2026-03-18 10:19:42 +08:00

34 lines
1.0 KiB
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"
)
type ISysLoginLog interface {
Invoke(ctx context.Context, data *model.LoginLogParams)
List(ctx context.Context, req *system.LoginLogSearchReq) (res *system.LoginLogSearchRes, err error)
DeleteLoginLogByIds(ctx context.Context, ids []int) (err error)
ClearLoginLog(ctx context.Context) (err error)
}
var localSysLoginLog ISysLoginLog
func SysLoginLog() ISysLoginLog {
if localSysLoginLog == nil {
panic("implement not found for interface ISysLoginLog, forgot register?")
}
return localSysLoginLog
}
func RegisterSysLoginLog(i ISysLoginLog) {
localSysLoginLog = i
}