sys_login_log.go 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. // ================================================================================
  2. // Code generated by GoFrame CLI tool. DO NOT EDIT.
  3. // You can delete these comments if you wish manually maintain this interface file.
  4. // ================================================================================
  5. package service
  6. import (
  7. "context"
  8. "github.com/tiger1103/gfast/v3/api/v1/system"
  9. "github.com/tiger1103/gfast/v3/internal/app/system/model"
  10. )
  11. type ISysLoginLog interface {
  12. Invoke(ctx context.Context, data *model.LoginLogParams)
  13. List(ctx context.Context, req *system.LoginLogSearchReq) (res *system.LoginLogSearchRes, err error)
  14. DeleteLoginLogByIds(ctx context.Context, ids []int) (err error)
  15. ClearLoginLog(ctx context.Context) (err error)
  16. }
  17. var localSysLoginLog ISysLoginLog
  18. func SysLoginLog() ISysLoginLog {
  19. if localSysLoginLog == nil {
  20. panic("implement not found for interface ISysLoginLog, forgot register?")
  21. }
  22. return localSysLoginLog
  23. }
  24. func RegisterSysLoginLog(i ISysLoginLog) {
  25. localSysLoginLog = i
  26. }