|
@@ -17,7 +17,9 @@ type SysOperaLogGetPageReq struct {
|
|
|
dto.Pagination `search:"-"`
|
|
dto.Pagination `search:"-"`
|
|
|
Title string `form:"title" search:"type:contains;column:title;table:sys_opera_log" comment:"操作模块"`
|
|
Title string `form:"title" search:"type:contains;column:title;table:sys_opera_log" comment:"操作模块"`
|
|
|
Method string `form:"method" search:"type:contains;column:method;table:sys_opera_log" comment:"函数"`
|
|
Method string `form:"method" search:"type:contains;column:method;table:sys_opera_log" comment:"函数"`
|
|
|
- RequestMethod string `form:"requestMethod" search:"type:contains;column:request_method;table:sys_opera_log" comment:"请求方式: GET POST PUT DELETE"`
|
|
|
|
|
|
|
+ OperatorType string `form:"operatorType" search:"type:exact;column:operator_type;table:sys_opera_log" comment:"操作类型"`
|
|
|
|
|
+ RequestMethod string `form:"requestMethod" search:"type:exact;column:request_method;table:sys_opera_log" comment:"请求方式: GET POST PUT DELETE"`
|
|
|
|
|
+ OperName string `form:"operName" search:"type:icontains;column:oper_name;table:sys_opera_log" comment:"操作人员"`
|
|
|
OperUrl string `form:"operUrl" search:"type:contains;column:oper_url;table:sys_opera_log" comment:"访问地址"`
|
|
OperUrl string `form:"operUrl" search:"type:contains;column:oper_url;table:sys_opera_log" comment:"访问地址"`
|
|
|
OperIp string `form:"operIp" search:"type:exact;column:oper_ip;table:sys_opera_log" comment:"客户端ip"`
|
|
OperIp string `form:"operIp" search:"type:exact;column:oper_ip;table:sys_opera_log" comment:"客户端ip"`
|
|
|
Status int `form:"status" search:"type:exact;column:status;table:sys_opera_log" comment:"状态 1:正常 2:关闭"`
|
|
Status int `form:"status" search:"type:exact;column:status;table:sys_opera_log" comment:"状态 1:正常 2:关闭"`
|
|
@@ -27,7 +29,11 @@ type SysOperaLogGetPageReq struct {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
type SysOperaLogOrder struct {
|
|
type SysOperaLogOrder struct {
|
|
|
- CreatedAtOrder string `search:"type:order;column:created_at;table:sys_opera_log" form:"createdAtOrder"`
|
|
|
|
|
|
|
+ OperatorTypeOrder string `search:"type:order;column:operator_type;table:sys_opera_log" form:"operatorTypeOrder"`
|
|
|
|
|
+ RequestMethodOrder string `search:"type:order;column:request_method;table:sys_opera_log" form:"requestMethodOrder"`
|
|
|
|
|
+ StatusOrder string `search:"type:order;column:status;table:sys_opera_log" form:"statusOrder"`
|
|
|
|
|
+ OperUrlOrder string `search:"type:order;column:oper_url;table:sys_opera_log" form:"operUrlOrder"`
|
|
|
|
|
+ CreatedAtOrder string `search:"type:order;column:created_at;table:sys_opera_log" form:"createdAtOrder"`
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func (m *SysOperaLogGetPageReq) GetNeedSearch() interface{} {
|
|
func (m *SysOperaLogGetPageReq) GetNeedSearch() interface{} {
|