File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ func (a *AuthorityMenuApi) AddMenuAuthority(c *gin.Context) {
81
81
// @Produce application/json
82
82
// @Param data body request.GetAuthorityId true "角色ID"
83
83
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
84
- // @Router /menu/GetMenuAuthority [post]
84
+ // @Router /menu/getMenuAuthority [post]
85
85
func (a * AuthorityMenuApi ) GetMenuAuthority (c * gin.Context ) {
86
86
var param request.GetAuthorityId
87
87
_ = c .ShouldBindJSON (& param )
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ type IdsReq struct {
17
17
18
18
// Get role by id structure
19
19
type GetAuthorityId struct {
20
- AuthorityId string // 角色ID
20
+ AuthorityId string `json:"authorityId" form:"authorityId"` // 角色ID
21
21
}
22
22
23
23
type Empty struct {}
You can’t perform that action at this time.
0 commit comments