From 9591c7565d9d3dba7452440dfa6ff9fb02d37c33 Mon Sep 17 00:00:00 2001 From: shoopea Date: Tue, 11 Jun 2019 10:48:03 +0800 Subject: [PATCH] tset --- client.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client.go b/client.go index 1aca8f5..cd7cae6 100644 --- a/client.go +++ b/client.go @@ -1,6 +1,8 @@ package main import ( + "encoding/json" + "log" "strings" ) @@ -21,6 +23,9 @@ func clientRefreshCWMsg(chatID64 int64, msgID64 int64) { FromMsgID64: msgID64, } + b, _ := json.Marshal(c) + log.Printf("clientRefreshCWMsg:\n%s\n", string(b)) + MQTGCmdQueue <- c }