修改配置文件单例模式

This commit is contained in:
何昌清
2026-03-27 14:20:20 +08:00
parent 5dd7bb9709
commit d289800092
7 changed files with 58 additions and 64 deletions

View File

@@ -23,7 +23,7 @@ import (
// @BasePath /quin
// @securityDefinitions.apikey ApiKeyAuth
// @in header
// @name X-Access-Token
// @name Authorization
func main() {
//===================================加载配置====================================
cfg := config.LoadConfig()