Skip to content

Commit 391c2e7

Browse files
authored
fix swagger comment route typo
/authorityBtn/getAuthorityBtn -> /authorityBtn/setAuthorityBtn
1 parent 5a3f175 commit 391c2e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/api/v1/system/sys_authority_btn.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func (a *AuthorityBtnApi) GetAuthorityBtn(c *gin.Context) {
3636
// @Produce application/json
3737
// @Param data body request.SysAuthorityBtnReq true "菜单id, 角色id, 选中的按钮id"
3838
// @Success 200 {object} response.Response{msg=string} "返回列表成功"
39-
// @Router /authorityBtn/getAuthorityBtn [post]
39+
// @Router /authorityBtn/setAuthorityBtn [post]
4040
func (a *AuthorityBtnApi) SetAuthorityBtn(c *gin.Context) {
4141
var req request.SysAuthorityBtnReq
4242
_ = c.ShouldBindJSON(&req)

0 commit comments

Comments
 (0)