doc: swagger add auth tag

This commit is contained in:
zhangwenjian
2020-07-18 14:24:59 +08:00
parent ea3408de84
commit b9d0318b45
16 changed files with 97 additions and 97 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ func GenMenuAndApi(c *gin.Context) {
Mmenu.Permission = tab.PackageName + ":" + tab.ModuleName + ":list"
Mmenu.ParentId = 0
Mmenu.NoCache = false
Mmenu.Component = tab.ModuleName + "/index"
Mmenu.Component = "/" + tab.ModuleName + "/index"
Mmenu.Sort = 0
Mmenu.Visible = "0"
Mmenu.IsFrame = "0"
+1 -1
View File
@@ -54,7 +54,7 @@ func GetSysTableList(c *gin.Context) {
// @Param configKey path int true "configKey"
// @Success 200 {object} app.Response "{"code": 200, "data": [...]}"
// @Router /api/v1/sys/tables/info/{tableId} [get]
// @Security
// @Security Bearer
func GetSysTables(c *gin.Context) {
var data tools.SysTables
data.TableId, _ = tools2.StringToInt(c.Param("tableId"))