refactor🎨 : 修改日志相关功能,针对代码进行优化

This commit is contained in:
zhangwenjian committed 2020-10-27 13:13:44 +08:00
1 parent 2195c89099
commit 16775cee45
5 files changed
+34 -36

No files matched your search

+5 -5
View File
@@ -16,11 +16,11 @@ import (
type SysOperaLogSearch struct {
dto.Pagination `search:"-"`
Title string `form:"title" search:"type:contains;column:title;table:sys_operlog" comment:"操作模块"`
Method string `form:"method" search:"type:contains;column:method;table:sys_operlog" comment:"函数"`
RequestMethod string `form:"requestMethod" search:"type:contains;column:request_method;table:sys_operlog" comment:"请求方式"`
OperUrl string `form:"operUrl" search:"type:contains;column:oper_url;table:sys_operlog" comment:"访问地址"`
OperIp string `form:"operIp" search:"type:exact;column:oper_ip;table:sys_operlog" comment:"客户端ip"`
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:"函数"`
RequestMethod string `form:"requestMethod" search:"type:contains;column:request_method;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"`
}
func (m *SysOperaLogSearch) GetNeedSearch() interface{} {