Merge pull request #540 from ninstein/patch-8

BUGFIX:角色状态修改异常修复
This commit is contained in:
wenjianzhang authored and GitHub committed 2021-08-19 19:13:16 +08:00
commit 9d25648c1f
1 file changed
+2 -2
+2 -2
View File
@@ -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 {
@@ -279,4 +279,4 @@ func (e SysRole) Update2DataScope(c *gin.Context) {
return
}
e.OK(nil, "操作成功")
}
}