Explorar el Código

Merge remote-tracking branch 'origin/master' into debug

Roc hace 3 semanas
padre
commit
5150b6fe86
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      main.go

+ 3 - 0
main.go

@@ -23,6 +23,9 @@ func main() {
 		web.BConfig.WebConfig.DirectoryIndex = true
 		web.BConfig.WebConfig.StaticDir["/swagger"] = "swagger"
 	}
+	// 服务名称
+	web.BConfig.ServerName = utils.APPNAME
+
 	go services.Task()
 
 	// 初始化表数据入库