sys_oper_log.go 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. // =================================================================================
  2. // This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
  3. // =================================================================================
  4. package dao
  5. import (
  6. comModel "gfast/app/common/model"
  7. "gfast/app/system/dao/internal"
  8. "gfast/app/system/model"
  9. "github.com/gogf/gf/frame/g"
  10. "net/url"
  11. )
  12. // sysOperLogDao is the manager for logic model data accessing and custom defined data operations functions management.
  13. // You can define custom methods on it to extend its functionality as you wish.
  14. type sysOperLogDao struct {
  15. *internal.SysOperLogDao
  16. }
  17. var (
  18. // SysOperLog is globally public accessible object for table sys_oper_log operations.
  19. SysOperLog sysOperLogDao
  20. )
  21. func init() {
  22. SysOperLog = sysOperLogDao{
  23. internal.NewSysOperLogDao(),
  24. }
  25. }
  26. // Fill with you ideas below.
  27. // SysOperLogAdd 添加操作日志参数
  28. type SysOperLogAdd struct {
  29. User *CtxUser
  30. Menu *model.SysAuthRuleInfoRes
  31. Url *url.URL
  32. Params g.Map
  33. Method string
  34. ClientIp string
  35. OperatorType int
  36. }
  37. // SysOperLogSearchReq 查询列表请求参数
  38. type SysOperLogSearchReq struct {
  39. Title string `p:"title"` //系统模块
  40. OperName string `p:"operName"` //操作人员
  41. Status string `p:"status"` //操作状态
  42. SortName string `p:"orderByColumn"` //排序字段
  43. SortOrder string `p:"isAsc"` //排序方式
  44. RequestMethod string `p:"requestMethod"` //操作类型
  45. comModel.PageReq
  46. }