1
This commit is contained in:
33
internal/app/system/service/sys_login_log.go
Normal file
33
internal/app/system/service/sys_login_log.go
Normal file
@@ -0,0 +1,33 @@
|
||||
// ================================================================================
|
||||
// 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
|
||||
}
|
||||
Reference in New Issue
Block a user