修改名字预防歧义

This commit is contained in:
ayflying
2025-05-07 12:17:52 +08:00
parent a2763676b1
commit b45242dfeb

View File

@@ -308,8 +308,8 @@ func (s *SocketV1) LeaveGroup(conn *WebsocketData, group string) {
}
//群组广播
func (s *SocketV1) SendGroup(cmd int32, group string, req proto.Message) {
cacheKey := "websocket:group:" + group
func (s *SocketV1) SendGroup(cmd int32, roomId string, req proto.Message) {
cacheKey := "websocket:group:" + roomId
get, _ := cache.Get(gctx.New(), cacheKey)
var list = make(map[int64]string)
if !get.IsNil() {