mirror of
https://github.com/tiger1103/gfast.git
synced 2026-09-21 18:20:47 +00:00
55 lines
1.6 KiB
Go
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
|
|
}
|