Files
common/log/controller/log_controller.go

19 lines
480 B
Go
Raw Normal View History

2025-12-30 16:14:15 +08:00
package controller
import (
"context"
2026-02-24 15:42:36 +08:00
"gitea.com/red-future/common/log/model/dto"
"gitea.com/red-future/common/log/service"
2025-12-30 16:14:15 +08:00
)
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)
2025-12-30 16:14:15 +08:00
}