From 79d0b017236ff0d0bfc4640ec5d99dcfcb6d77d4 Mon Sep 17 00:00:00 2001 From: shoopea Date: Thu, 16 Jan 2020 23:30:00 +0800 Subject: [PATCH] test --- job.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/job.go b/job.go index 3f95ef2..5a02514 100644 --- a/job.go +++ b/job.go @@ -1587,6 +1587,9 @@ func jobGWithdraw(j Job) { c.Encrypt(out, in) ref := hex.EncodeToString(out) + b, err = json.Marshal(p) + fmt.Printf("jobGWithdraw : %s\n", string(b)) + var stock string for _, i := range p.Items { if i.Available > i.Required { @@ -1603,6 +1606,7 @@ func jobGWithdraw(j Job) { Text: msg, FromMsgID64: p.MsgID64, FromChatID64: p.ChatID64, + ParseMode: cmdParseModeHTML, } TGCmdQueue <- cmd }