From 8d36ca1d374dec29aca45c4b9cc5630458f35251 Mon Sep 17 00:00:00 2001 From: Leufolium Date: Thu, 23 May 2024 17:11:14 +0800 Subject: [PATCH] by Robin at 20240523 --- app/mix/cmd/main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/mix/cmd/main.go b/app/mix/cmd/main.go index 44a9ed00..87ceaa7b 100644 --- a/app/mix/cmd/main.go +++ b/app/mix/cmd/main.go @@ -9,6 +9,7 @@ import ( "service/api/consts" "service/app/mix/conf" "service/app/mix/controller" + "service/app/mix/mediafiller" "service/app/mix/service" "service/library/apollo" "service/library/configcenter" @@ -78,6 +79,8 @@ func main() { msg := fmt.Sprintf("Service init fail, err: %v", err) PrintAndExit(msg) } + // 初始化媒体填充服务 + mediafiller.Init(cfg.ServerInfo) // 初始化http server router := httpengine.NewRouter()