Commit 8c3893b72754fcadd7125f64296e87e616d61ae4
1 parent
27a173f5
fix: 更改角色信息修改协议名字
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
models/role.go
@@ -181,7 +181,7 @@ func (m *RoleModel) UpdateProperties(property map[string]interface{}, notify boo | @@ -181,7 +181,7 @@ func (m *RoleModel) UpdateProperties(property map[string]interface{}, notify boo | ||
181 | return | 181 | return |
182 | } | 182 | } |
183 | 183 | ||
184 | - update := &pb.UpdateRolePropertyRsp{ | 184 | + update := &pb.RoleUpdatePropertyRsp{ |
185 | Id: ids, | 185 | Id: ids, |
186 | Role: role, | 186 | Role: role, |
187 | } | 187 | } |
@@ -190,7 +190,7 @@ func (m *RoleModel) UpdateProperties(property map[string]interface{}, notify boo | @@ -190,7 +190,7 @@ func (m *RoleModel) UpdateProperties(property map[string]interface{}, notify boo | ||
190 | return | 190 | return |
191 | } else { | 191 | } else { |
192 | if m.GetConn() != nil && notify { | 192 | if m.GetConn() != nil && notify { |
193 | - m.GetConn().Send(0, uint32(pb.ProtoCode_UpdateRolePropertyRsp), rsp) | 193 | + m.GetConn().Send(0, uint32(pb.ProtoCode_RoleUpdatePropertyRsp), rsp) |
194 | } | 194 | } |
195 | } | 195 | } |
196 | } | 196 | } |