This commit is contained in:
shoopea 2020-01-05 15:27:07 +08:00
parent fafe438050
commit ac827d451f
2 changed files with 6 additions and 0 deletions

2
bot.go
View File

@ -960,6 +960,8 @@ func botGWithdraw(m *tb.Message) {
FromChatID64: m.Chat.ID, FromChatID64: m.Chat.ID,
} }
TGCmdQueue <- c TGCmdQueue <- c
} else {
log.Printf("botGWithdraw : %s\n", string(b))
} }
} else { } else {

4
job.go
View File

@ -1298,6 +1298,10 @@ func jobGWithdraw(j Job) {
} }
} }
} }
b, _ := json.Marshal(p)
log.Printf("jobGWithdraw : %s\n", string(b))
if p.Status < 64 { if p.Status < 64 {
if (p.Status & 1) == 1 { if (p.Status & 1) == 1 {
log.Printf("jobGWithdraw : Requesting res.\n") log.Printf("jobGWithdraw : Requesting res.\n")