[操作日志]增加若干查询条件

This commit is contained in:
刘祥超
2020-11-20 16:36:07 +08:00
parent f5e0c1749d
commit 34c941e4e9
4 changed files with 58 additions and 7 deletions

View File

@@ -12,6 +12,7 @@ type Log struct {
ProviderId uint32 `field:"providerId"` // 供应商ID
Ip string `field:"ip"` // IP地址
Type string `field:"type"` // 类型admin, user
Day string `field:"day"` // 日期
}
type LogOperator struct {
@@ -25,6 +26,7 @@ type LogOperator struct {
ProviderId interface{} // 供应商ID
Ip interface{} // IP地址
Type interface{} // 类型admin, user
Day interface{} // 日期
}
func NewLogOperator() *LogOperator {