cache picuter to server

This commit is contained in:
mubai
2023-10-10 23:04:44 +08:00
parent 8a3eb1e2f6
commit 0f39779e46
7 changed files with 107 additions and 27 deletions

View File

@@ -1,6 +1,8 @@
package main
import (
"fmt"
"server/config"
"server/model"
"server/plugin/db"
"server/plugin/spider"
@@ -33,7 +35,7 @@ func start() {
spider.RegularUpdateMovie()
// 开启路由监听
r := router.SetupRouter()
_ = r.Run(`:3601`)
_ = r.Run(fmt.Sprintf(":%s", config.ListenerPort))
}