mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-12-10 09:50:25 +08:00
feature: 将数据库实例管理集成到数据库管理模块中
This commit is contained in:
@@ -5,8 +5,6 @@ export const dbApi = {
|
||||
dbs: Api.newGet('/dbs'),
|
||||
dbTags: Api.newGet('/dbs/tags'),
|
||||
saveDb: Api.newPost('/dbs'),
|
||||
getAllDatabase: Api.newPost('/dbs/databases'),
|
||||
getDbPwd: Api.newGet('/dbs/{id}/pwd'),
|
||||
deleteDb: Api.newDelete('/dbs/{id}'),
|
||||
dumpDb: Api.newPost('/dbs/{id}/dump'),
|
||||
tableInfos: Api.newGet('/dbs/{id}/t-infos'),
|
||||
@@ -29,6 +27,8 @@ export const dbApi = {
|
||||
|
||||
// 获取权限列表
|
||||
instances: Api.newGet('/instances'),
|
||||
getInstance: Api.newGet("/instances/{instanceId}"),
|
||||
getAllDatabase: Api.newGet('/instances/{instanceId}/databases'),
|
||||
saveInstance: Api.newPost('/instances'),
|
||||
getInstancePwd: Api.newGet('/instances/{id}/pwd'),
|
||||
deleteInstance: Api.newDelete('/instances/{id}'),
|
||||
|
||||
Reference in New Issue
Block a user