This commit is contained in:
shoopea 2020-01-16 23:30:00 +08:00
parent 36891b94d8
commit 79d0b01723

4
job.go
View File

@ -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
}