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()