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 + ")" }