测试发信息

pull/23/head
taoshihan1991 4 years ago
parent cda3eaef57
commit 1e61a272de

@ -95,7 +95,7 @@ func OneKefuMessage(toId string, str []byte) {
//kefu.Mux.Lock()
//defer kefu.Mux.Unlock()
//log.Println("OneKefuMessage unlock")
tools.Logger().Println("send_kefu_message", websocket.TextMessage)
tools.Logger().Println("send_kefu_message", str)
kefu.Conn.WriteMessage(websocket.TextMessage, str)
}
}

Loading…
Cancel
Save