mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-12-24 08:36:35 +08:00
feat: 优化机器脚本添加参数的前端交互
This commit is contained in:
@@ -180,7 +180,7 @@ func (da *dbAppImpl) GetDbInstance(id uint64, db string) *DbInstance {
|
||||
return load.(*DbInstance)
|
||||
}
|
||||
}
|
||||
biz.IsTrue(mutex.TryLock(), "有数据库实例在连接中...请稍后重试")
|
||||
mutex.Lock()
|
||||
defer mutex.Unlock()
|
||||
|
||||
d := da.GetById(id)
|
||||
|
||||
Reference in New Issue
Block a user