This commit is contained in:
谢小军
2019-12-13 19:52:15 +08:00
parent 3646031889
commit da4332286f
8 changed files with 66 additions and 15 deletions

View File

@@ -23,6 +23,8 @@ func (m *mysqlModel) GenModel() model.DBInfo {
var dbInfo model.DBInfo
getPackageInfo(orm, &dbInfo)
dbInfo.PackageName = m.GetPkgName()
dbInfo.DbName = m.GetDbName()
return dbInfo
}