Commit 298c78c9 by 孙龙

up

parent bf28cec4
Showing with 1 additions and 1 deletions
......@@ -45,7 +45,7 @@ func mysqlSetup(d *dao) *dao {
)
DatabaseList := task.BuildDatabaseList()
GroupDatabaseList := task.BuildGroupDatabaseList()
if len(GroupDatabaseList) > 0 {
if len(DatabaseList) > 0 {
for conName, db := range DatabaseList {
d.db[conName], err = xorm.NewEngine("mysql", db.DataSourceName)
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