Skip to content

Commit

Permalink
Merge pull request #543 from go-admin-team/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
wenjianzhang authored Aug 19, 2021
2 parents aa6c3df + 9d25648 commit 03b916e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/admin/apis/sys_role.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ func (e SysRole) Update2Status(c *gin.Context) {
req := dto.UpdateStatusReq{}
err := e.MakeContext(c).
MakeOrm().
Bind(&req).
Bind(&req, binding.JSON, nil).
MakeService(&s.Service).
Errors
if err != nil {
Expand Down Expand Up @@ -279,4 +279,4 @@ func (e SysRole) Update2DataScope(c *gin.Context) {
return
}
e.OK(nil, "操作成功")
}
}

0 comments on commit 03b916e

Please sign in to comment.