package controller import ( "context" "gitea.com/red-future/common/log/model/dto" "gitea.com/red-future/common/log/service" ) type operationLog struct{} // OperationLog 操作日志控制器 var OperationLog = new(operationLog) // GetByCollectionId 根据collectionId获取操作日志列表 func (c *operationLog) GetByCollectionId(ctx context.Context, req *dto.ListLogsReq) (res *dto.ListLogsResp, err error) { return service.OperationLog.GetByCollectionId(ctx, req) }