Files
model-gateway/controller/model_gateway_logs_stat_controller.go

19 lines
417 B
Go
Raw Normal View History

2026-04-29 15:54:14 +08:00
package controller
import (
"context"
statService "model-gateway/service/stat"
2026-04-29 15:54:14 +08:00
"model-gateway/model/dto"
2026-04-29 15:54:14 +08:00
)
// ModelGatewayLogsStat 统计控制器
var ModelGatewayLogsStat = new(stat)
2026-04-29 15:54:14 +08:00
type stat struct{}
2026-04-29 15:54:14 +08:00
// ListModelStat 统计列表
func (c *stat) ListModelStat(ctx context.Context, req *dto.ListModelStatReq) (res *dto.ListModelStatRes, err error) {
return statService.ModelGatewayLogsStat.List(ctx, req)
2026-04-29 15:54:14 +08:00
}