19 lines
510 B
Go
19 lines
510 B
Go
package controller
|
|
|
|
import (
|
|
"context"
|
|
|
|
"gitea.redpowerfuture.com/red-future/common/log/model/dto"
|
|
"gitea.redpowerfuture.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)
|
|
}
|