test
This commit is contained in:
parent
36891b94d8
commit
79d0b01723
4
job.go
4
job.go
@ -1587,6 +1587,9 @@ func jobGWithdraw(j Job) {
|
|||||||
c.Encrypt(out, in)
|
c.Encrypt(out, in)
|
||||||
ref := hex.EncodeToString(out)
|
ref := hex.EncodeToString(out)
|
||||||
|
|
||||||
|
b, err = json.Marshal(p)
|
||||||
|
fmt.Printf("jobGWithdraw : %s\n", string(b))
|
||||||
|
|
||||||
var stock string
|
var stock string
|
||||||
for _, i := range p.Items {
|
for _, i := range p.Items {
|
||||||
if i.Available > i.Required {
|
if i.Available > i.Required {
|
||||||
@ -1603,6 +1606,7 @@ func jobGWithdraw(j Job) {
|
|||||||
Text: msg,
|
Text: msg,
|
||||||
FromMsgID64: p.MsgID64,
|
FromMsgID64: p.MsgID64,
|
||||||
FromChatID64: p.ChatID64,
|
FromChatID64: p.ChatID64,
|
||||||
|
ParseMode: cmdParseModeHTML,
|
||||||
}
|
}
|
||||||
TGCmdQueue <- cmd
|
TGCmdQueue <- cmd
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user