fix 引擎数据应用加载逻辑
This commit is contained in:
parent
23de27c063
commit
b6495002e3
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue