Initial commit
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
package proto
|
||||
|
||||
import (
|
||||
"stat/common"
|
||||
"time"
|
||||
)
|
||||
|
||||
type ListOpLogReq struct {
|
||||
Operator *string `form:"operator" json:"operator" binding:"omitempty"` // 操作人员
|
||||
IsAdmin *bool `form:"isAdmin" json:"isAdmin" binding:"omitempty"` // 是否是管理员 true: 管理员 false: 代理商
|
||||
Router *string `form:"router" json:"router" binding:"omitempty"` // 路由
|
||||
common.Page
|
||||
}
|
||||
|
||||
type ListOpLogRes struct {
|
||||
Total int64 `json:"total"`
|
||||
List []OpLogInfo `json:"list"`
|
||||
}
|
||||
|
||||
type OpLogInfo struct {
|
||||
Operator string `json:"operator"` // 操作人员
|
||||
Router string `json:"router"` // 接口路由
|
||||
Data string `json:"data"` // 操作数据
|
||||
IsAdmin bool `json:"isAdmin"` // 是否是管理员
|
||||
CreatedAt time.Time `json:"createdAt"` // 创建时间
|
||||
}
|
||||
Reference in New Issue
Block a user