From ccf396d18f149c3ba1d5bb1279f29a5d6eff864c Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期五, 23 八月 2019 16:24:05 +0800 Subject: [PATCH] fix port --- router/router.go | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/router/router.go b/router/router.go index 24651a5..4d922c5 100644 --- a/router/router.go +++ b/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) } // 搴曞簱浜哄憳 鎿嶄綔 @@ -189,6 +190,7 @@ sdkApi.GET("/findAllSdk", sdkController.FindAllSdk) sdkApi.GET("/findByTaskId", sdkController.FindByTaskId) sdkApi.GET("/getById", sdkController.GetById) + sdkApi.GET("/sdkDownload",sdkController.SdkDownLoad) } //绠楁硶鍙傛暟 @@ -226,12 +228,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) } // 鏂囦欢 涓婁紶 -- Gitblit v1.8.0