liuxiaolong
2019-08-23 9dbf52d751cd6b347210550eb5217c3eb2c0306d
router/router.go
@@ -152,6 +152,7 @@
      vdbtable.POST("/updateDbTables", tableController.UpdateDbTables)
      vdbtable.POST("/deleteDBtablesById/:id", tableController.DeleteDbTables)
      vdbtable.PUT("/addDbTableInfo", tableController.AddDbTableInfo)
      vdbtable.POST("/updateDbTableStatus", tableController.UpdateDbTableStatus)
   }
   // 底库人员 操作
@@ -226,11 +227,15 @@
   }
   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)
   }
   // 文件 上传