diff --git a/models/role.go b/models/role.go index 09512b8..bcbdd58 100644 --- a/models/role.go +++ b/models/role.go @@ -181,7 +181,7 @@ func (m *RoleModel) UpdateProperties(property map[string]interface{}, notify boo return } - update := &pb.UpdateRolePropertyRsp{ + update := &pb.RoleUpdatePropertyRsp{ Id: ids, Role: role, } @@ -190,7 +190,7 @@ func (m *RoleModel) UpdateProperties(property map[string]interface{}, notify boo return } else { if m.GetConn() != nil && notify { - m.GetConn().Send(0, uint32(pb.ProtoCode_UpdateRolePropertyRsp), rsp) + m.GetConn().Send(0, uint32(pb.ProtoCode_RoleUpdatePropertyRsp), rsp) } } } -- libgit2 0.21.2