| | |
| | | // @Param uuid path string true "底库id " |
| | | // @Success 200 {string} json "{"code":200, msg:"目录结构数据", success:true}" |
| | | // @Failure 500 {string} json "{"code":500, msg:"返回错误信息", success:false}" |
| | | // @Router /data/api-v/dbtable/deleteDBtablesById/{uuid} [POST] |
| | | // @Router /data/api-v/dbtable/deleteDBtablesById/{id} [POST] |
| | | func (dbt DbTableController) DeleteDbTables(c *gin.Context) { |
| | | uuid := c.Params.ByName("id") |
| | | url := "http://" + config.EsInfo.Masterip + ":" + config.EsInfo.Httpport + |
| | |
| | | { |
| | | vdbtable.POST("/queryDbTables/:isSync", tableController.QueryDbTables) |
| | | vdbtable.POST("/updateDbTables", tableController.UpdateDbTables) |
| | | vdbtable.POST("/deleteDBtablesById/:uuid", tableController.DeleteDbTables) |
| | | vdbtable.POST("/deleteDBtablesById/:id", tableController.DeleteDbTables) |
| | | vdbtable.PUT("/addDbTableInfo", tableController.AddDbTableInfo) |
| | | } |
| | | |