From b6495002e3d504e1064082a41dd2836997d07b72 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 29 Sep 2021 10:27:44 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=BC=95=E6=93=8E=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=BA=94=E7=94=A8=E5=8A=A0=E8=BD=BD=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- global/load.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/global/load.go b/global/load.go index aa9979cb..e92cde74 100644 --- a/global/load.go +++ b/global/load.go @@ -87,6 +87,12 @@ func LoadEngine(from string) { case "apis": gou.LoadAPI(string(script.Content), "xiang."+script.Name) break + } + } + + // 加载数据应用 + for _, script := range scripts { + switch script.Type { case "tables": table.Load(string(script.Content), "xiang."+script.Name) break