mirror of
https://github.com/go-admin-team/go-admin.git
synced 2026-09-21 10:13:01 +00:00
doc: swagger add auth tag
This commit is contained in:
+1
-1
@@ -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"
|
||||
|
||||
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user