Files
gfast/app/system/dao/sys_oper_log.go
T
2021-07-20 11:11:30 +08:00

55 lines
1.6 KiB
Go

// =================================================================================
// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
// =================================================================================
package dao
import (
comModel "gfast/app/common/model"
"gfast/app/system/dao/internal"
"gfast/app/system/model"
"github.com/gogf/gf/frame/g"
"net/url"
)
// sysOperLogDao is the manager for logic model data accessing and custom defined data operations functions management.
// You can define custom methods on it to extend its functionality as you wish.
type sysOperLogDao struct {
*internal.SysOperLogDao
}
var (
// SysOperLog is globally public accessible object for table sys_oper_log operations.
SysOperLog sysOperLogDao
)
func init() {
SysOperLog = sysOperLogDao{
internal.NewSysOperLogDao(),
}
}
// Fill with you ideas below.
// SysOperLogAdd 添加操作日志参数
type SysOperLogAdd struct {
User *CtxUser
Menu *model.SysAuthRuleInfoRes
Url *url.URL
Params g.Map
Method string
ClientIp string
OperatorType int
}
// SysOperLogSearchReq 查询列表请求参数
type SysOperLogSearchReq struct {
Title string `p:"title"` //系统模块
OperName string `p:"operName"` //操作人员
Status string `p:"status"` //操作状态
SortName string `p:"orderByColumn"` //排序字段
SortOrder string `p:"isAsc"` //排序方式
RequestMethod string `p:"requestMethod"` //操作类型
comModel.PageReq
}