package main import ( "pet-house.com/business/api" "pet-house.com/core/server/web" "pet-house.com/core/server/web/web_iris" "pet-house.com/core/server/zap_server" ) func main() { wi := web_iris.Init() wi.AddModule(api.DefParty{Prefix: api.Root}.RegisterList()...) wi.AddFrontFunc(api.FrontAuth) wi.AddWebStatic("./static", "/static") api.ModuleInit() zap_server.ZAPLOG.Info("main start success") web.Start(wi) }