From 68fc51cb635fecf12cad58deab88c3b5e0afc0ad Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期四, 22 八月 2019 17:06:49 +0800
Subject: [PATCH] yunnan swagger doc

---
 controllers/dbtableperson.go |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/controllers/dbtableperson.go b/controllers/dbtableperson.go
index 9afabe9..6f4278d 100644
--- a/controllers/dbtableperson.go
+++ b/controllers/dbtableperson.go
@@ -148,7 +148,6 @@
 // @Success 200 {string} json "{"code":200, msg:"鐩綍缁撴瀯鏁版嵁", success:true}"
 // @Failure 500 {string} json "{"code":500,  msg:"杩斿洖閿欒淇℃伅", success:false}"
 // @Router /data/api-v/dbperson/deleteDbPersonById/{uuid} [POST]
-
 func (dbc DbPersonController) DeleteDbPerson(c *gin.Context) {
 	id := c.Params.ByName("uuid")
 	if id == "" {
@@ -164,12 +163,14 @@
 	}
 }
 
-// @Summary 鍒犻櫎搴曞簱浜哄憳
-// @Description 鍒犻櫎搴撲汉鍛�
+type multiIds []string
+
+// @Summary 鎵归噺鍒犻櫎搴曞簱浜哄憳
+// @Description 鎵归噺鍒犻櫎搴撲汉鍛�
 // @Accept  json
 // @Produce json
 // @Tags dbperson 搴曞簱浜哄憳
-// @Param uuids body []string true "搴曞簱浜哄憳ids "
+// @Param uuids body controllers.multiIds true "搴曞簱浜哄憳ids"
 // @Success 200 {string} json "{"code":200, msg:"鐩綍缁撴瀯鏁版嵁", success:true}"
 // @Failure 500 {string} json "{"code":500,  msg:"杩斿洖閿欒淇℃伅", success:false}"
 // @Router /data/api-v/dbperson/deleteMoreDbPerson [POST]
@@ -195,7 +196,7 @@
 // @Accept  json
 // @Produce json
 // @Tags dbperson 搴曞簱浜哄憳
-// @Param reqMap body map false "{"tableId":"","orderName":"uuid","orderType":"desc","contentValue":"","page":1,"size":8}"
+// @Param reqMap body map false "{"tableId":"","orderName":"id","orderType":"desc","contentValue":"","page":1,"size":8}"
 // @Success 200 {string} json "{"code":200, "msg":"鐩綍缁撴瀯鏁版嵁", "success":true,"data":{}}"
 // @Failure 500 {string} json "{code:500,  msg:"杩斿洖閿欒淇℃伅", success:false,data:{}}"
 // @Router /data/api-v/dbperson/queryDbPersonsByTbId [POST]
@@ -262,7 +263,7 @@
 // @Accept  json
 // @Produce json
 // @Tags dbperson 搴曞簱浜哄憳
-// @Param reqMap body map false "{"tableId":"","orderName":"uuid","orderType":"desc","contentValue":"","page":1,"size":8}"
+// @Param reqMap body map false "{"tableId":"","orderName":"id","orderType":"desc","contentValue":"","page":1,"size":8}"
 // @Success 200 {string} json "{"code":200, "msg":"鐩綍缁撴瀯鏁版嵁", "success":true,"data":{}}"
 // @Failure 500 {string} json "{code:500,  msg:"杩斿洖閿欒淇℃伅", success:false,data:{}}"
 // @Router /data/api-v/dbperson/queryDbPersonsByCampare [POST]

--
Gitblit v1.8.0