@@ -0,0 +1,17 @@
|
||||
package operationlogmod
|
||||
|
||||
import "time"
|
||||
|
||||
// GetOperationLogListReq 获取帖子、用户操作日志列表 请求数据
|
||||
type GetOperationLogListReq struct {
|
||||
UserID *int64 `form:"userID,omitempty" json:"userID,omitempty" bson:"userID,omitempty"` //用户ID
|
||||
Content *string `form:"content,omitempty" json:"content,omitempty" bson:"content,omitempty"` //操作内容
|
||||
CreatedUser *string `form:"createdUser,omitempty" json:"createdUser,omitempty" bson:"createdUser,omitempty"` //操作人
|
||||
CreatedAt *time.Time `form:"createdAt,omitempty" json:"createdAt,omitempty" bson:"createdAt,omitempty"` //操作时间
|
||||
}
|
||||
|
||||
// GetOperationLogListResp 获取帖子、用户操作日志列表 回复数据
|
||||
type GetOperationLogListResp struct {
|
||||
Total int64 `json:"total" bson:"total"`
|
||||
List []OperationLog `json:"list" bson:"list"`
|
||||
}
|
||||
Reference in New Issue
Block a user