From 070738fd9d21da92ba53ec931567dc126d7fbea9 Mon Sep 17 00:00:00 2001 From: liyp Date: Sun, 14 Apr 2024 20:40:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dcq=E7=A0=81=E5=9B=9E=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- workers/hhsh.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/workers/hhsh.go b/workers/hhsh.go index c7a96b3..179fc2f 100644 --- a/workers/hhsh.go +++ b/workers/hhsh.go @@ -44,14 +44,14 @@ func (a *Hhsh) GetMsg() string { return err.Error() } resultSlipe := data["data"].([]interface{}) - fmt.Println("resultSlipe:", resultSlipe) + // fmt.Println("resultSlipe:", resultSlipe) if trans, ok := resultSlipe[0].(map[string]interface{})["trans"]; ok { // println("trans:", trans.([]interface{})) transSlice := trans.([]interface{}) - msg := "[CQ:reply,id={" + a.MID + "}](" + msg := "[CQ:reply,id=" + a.MID + "](" for _, item := range transSlice { // fmt.Print(item, " ") - msg += item.(string) + "" + msg += item.(string) + " " } return msg + ")" }