longyu 3 năm trước cách đây
mục cha
commit
4b836cd72a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      utils/config.go

+ 1 - 1
utils/config.go

@@ -65,7 +65,7 @@ func init() {
 		}
 	}
 
-	config, err := beego.AppConfig.GetSection(RunMode)
+	config, err := web.AppConfig.GetSection(RunMode)
 	if err != nil {
 		panic("配置文件读取错误 " + err.Error())
 	}