From 8a1ad0682d026defd3fe3dcf5eb5dbd982c70db4 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期五, 05 七月 2019 11:00:18 +0800 Subject: [PATCH] fix dbtable arg --- controllers/dbtablesCon.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/controllers/dbtablesCon.go b/controllers/dbtablesCon.go index 2eb472c..8a7adc6 100644 --- a/controllers/dbtablesCon.go +++ b/controllers/dbtablesCon.go @@ -137,7 +137,7 @@ // @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 + -- Gitblit v1.8.0