优化
This commit is contained in:
@@ -12,7 +12,7 @@ type Announcement struct {
|
||||
UpdatedAt time.Time
|
||||
Title string
|
||||
Content string
|
||||
UserID *uint
|
||||
UserID *int
|
||||
Attachments json.RawMessage
|
||||
}
|
||||
|
||||
|
||||
@@ -100,10 +100,10 @@ type AuditRecordRepo interface {
|
||||
type AuditQueryRepo interface {
|
||||
ListOperations(context.Context, int, int, *OperationRecord) ([]*OperationRecord, int64, error)
|
||||
FindOperation(context.Context, uint) (*OperationRecord, error)
|
||||
DeleteOperations(context.Context, []uint) error
|
||||
DeleteOperations(context.Context, []int) error
|
||||
ListLogins(context.Context, int, int, *LoginLog) ([]*LoginLog, int64, error)
|
||||
FindLogin(context.Context, uint) (*LoginLog, error)
|
||||
DeleteLogins(context.Context, []uint) error
|
||||
DeleteLogins(context.Context, []int) error
|
||||
ListDataAccess(context.Context, int, int, *DataAccessLog) ([]*DataAccessLog, int64, error)
|
||||
DeleteDataAccess(context.Context, []uint) error
|
||||
UpdateError(context.Context, *ErrorRecord) error
|
||||
|
||||
Reference in New Issue
Block a user