Skip to content

Commit 8ebb1fd

Browse files
committed
修复中间件导包错误及代码优化,更新swagger文档
1 parent 96380bd commit 8ebb1fd

File tree

6 files changed

+958
-910
lines changed

6 files changed

+958
-910
lines changed

server/api/v1/sys_authority.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"go.uber.org/zap"
1212
)
1313

14-
// @Tags authority
14+
// @Tags Authority
1515
// @Summary 创建角色
1616
// @Security ApiKeyAuth
1717
// @accept application/json
@@ -34,7 +34,7 @@ func CreateAuthority(c *gin.Context) {
3434
}
3535
}
3636

37-
// @Tags authority
37+
// @Tags Authority
3838
// @Summary 拷贝角色
3939
// @Security ApiKeyAuth
4040
// @accept application/json
@@ -61,7 +61,7 @@ func CopyAuthority(c *gin.Context) {
6161
}
6262
}
6363

64-
// @Tags authority
64+
// @Tags Authority
6565
// @Summary 删除角色
6666
// @Security ApiKeyAuth
6767
// @accept application/json
@@ -84,7 +84,7 @@ func DeleteAuthority(c *gin.Context) {
8484
}
8585
}
8686

87-
// @Tags authority
87+
// @Tags Authority
8888
// @Summary 更新角色信息
8989
// @Security ApiKeyAuth
9090
// @accept application/json
@@ -107,7 +107,7 @@ func UpdateAuthority(c *gin.Context) {
107107
}
108108
}
109109

110-
// @Tags authority
110+
// @Tags Authority
111111
// @Summary 分页获取角色列表
112112
// @Security ApiKeyAuth
113113
// @accept application/json
@@ -135,7 +135,7 @@ func GetAuthorityList(c *gin.Context) {
135135
}
136136
}
137137

138-
// @Tags authority
138+
// @Tags Authority
139139
// @Summary 设置角色资源权限
140140
// @Security ApiKeyAuth
141141
// @accept application/json

0 commit comments

Comments
 (0)