doc: swagger add auth tag

This commit is contained in:
zhangwenjian committed 2020-07-18 14:24:59 +08:00
1 parent ea3408de84
commit b9d0318b45
16 files changed
+97 -97

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ import (
// @Param pageIndex query int false "页码"
// @Success 200 {object} app.Response "{"code": 200, "data": [...]}"
// @Router /api/v1/rolelist [get]
// @Security
// @Security Bearer
func GetRoleList(c *gin.Context) {
var data models.SysRole
var err error