liuxiaolong
2019-08-23 ccf396d18f149c3ba1d5bb1279f29a5d6eff864c
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)
   }
   // 文件 上传