修改角色

This commit is contained in:
2023-07-06 11:41:25 +08:00
parent f391667879
commit 5a5d304244
2 changed files with 16 additions and 9 deletions
+1 -1
View File
@@ -280,7 +280,7 @@ func (r *Role) PutRole(c *gin.Context) {
}
// 业务处理
_, err = roleService.PutRole(c, roleId, roleRequest.PutRole)
_, err = roleService.PutRole(roleId, roleRequest.PutRole)
if err != nil {
responses.FailWithMessage(err.Error(), c)
return