by Robin at 20240523

This commit is contained in:
Leufolium 2024-05-23 17:11:14 +08:00
parent c58b220d7c
commit 8d36ca1d37
1 changed files with 3 additions and 0 deletions

View File

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