fix: improvement logs and record news access
This commit is contained in:
@@ -9,10 +9,11 @@ type LogsRequest struct {
|
||||
}
|
||||
|
||||
type LogsSpec struct {
|
||||
ContentID string `json:"content_id" validate:"required"`
|
||||
IP *string `json:"ip"`
|
||||
UserID *string `json:"user_id"`
|
||||
UserAgent *string `json:"user_agent"`
|
||||
ContentID string `json:"content_id" validate:"required"`
|
||||
IP *string
|
||||
UserID *string
|
||||
UserAgent *string
|
||||
Category string
|
||||
}
|
||||
|
||||
type LogResponse struct {
|
||||
|
||||
Reference in New Issue
Block a user