Commit bf28cec4 by 孙龙

up

parent ac0c144b
Showing with 1 additions and 1 deletions
...@@ -44,7 +44,7 @@ func mysqlSetup(d *dao) *dao { ...@@ -44,7 +44,7 @@ func mysqlSetup(d *dao) *dao {
) )
DatabaseList := http.BuildDatabaseList() DatabaseList := http.BuildDatabaseList()
GroupDatabaseList := http.BuildGroupDatabaseList() GroupDatabaseList := http.BuildGroupDatabaseList()
if len(GroupDatabaseList) > 0 { if len(DatabaseList) > 0 {
for conName, db := range DatabaseList { for conName, db := range DatabaseList {
d.db[conName], err = xorm.NewEngine("mysql", db.DataSourceName) d.db[conName], err = xorm.NewEngine("mysql", db.DataSourceName)
if err != nil { if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment