mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-03 16:00:25 +08:00
refactor: 机器文件操作界面重构
This commit is contained in:
@@ -94,8 +94,7 @@ func (d *Db) DeleteDb(rc *req.Ctx) {
|
||||
func (d *Db) getDbConnection(g *gin.Context) *application.DbConnection {
|
||||
dbName := g.Query("db")
|
||||
biz.NotEmpty(dbName, "db不能为空")
|
||||
dbId := getDbId(g)
|
||||
return d.DbApp.GetDbConnection(dbId, dbName)
|
||||
return d.DbApp.GetDbConnection(getDbId(g), dbName)
|
||||
}
|
||||
|
||||
func (d *Db) TableInfos(rc *req.Ctx) {
|
||||
|
||||
Reference in New Issue
Block a user