| | |
| | | vdbtable.POST("/updateDbTables", tableController.UpdateDbTables) |
| | | vdbtable.POST("/deleteDBtablesById/:id", tableController.DeleteDbTables) |
| | | vdbtable.PUT("/addDbTableInfo", tableController.AddDbTableInfo) |
| | | vdbtable.POST("/updateDbTableStatus", tableController.UpdateDbTableStatus) |
| | | } |
| | | |
| | | // 底库人员 操作 |
| | |
| | | } |
| | | clusterApi := r.Group(urlPrefix+"/cluster") |
| | | { |
| | | clusterApi.GET("/findCluster", clusterController.FindCluster) |
| | | clusterApi.GET("/randomPwd", clusterController.RandomPwd) |
| | | clusterApi.POST("/create", clusterController.Create) |
| | | clusterApi.POST("/search", clusterController.Search) |
| | | clusterApi.POST("/stopSearching", clusterController.StopSearching) |
| | | clusterApi.GET("/getSearchNodes", clusterController.GetSearchNodes) |
| | | clusterApi.POST("/joinCluster", clusterController.JoinCluster) |
| | | clusterApi.POST("/updateClusterName", clusterController.UpdateClusterName) |
| | | clusterApi.POST("/leave", clusterController.Leave) |
| | | } |
| | | |
| | | // 文件 上传 |