Commit 826692d0 authored by haoyanbin's avatar haoyanbin

Fml

parent d1c68f90
......@@ -229,7 +229,7 @@ func (c *Client) Send(msg *SendMsg) error {
return errors.New("连接ID:" + c.Id + "ws连接己经断开,无法发送消息")
default:
msg.ToClientId = c.User
fmt.Println(msg)
fmt.Println("会话id:", msg.ConversationId, "发送方:", msg.FromClientId, " 接收方:", msg.ToClientId, " msg:", msg.Msg)
c.send(msg)
}
return nil
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment