fix g deposit
This commit is contained in:
parent
a857714b7a
commit
fe43b0f9ea
10
job.go
10
job.go
@ -796,7 +796,7 @@ func jobGDeposit(j Job) {
|
|||||||
clientSendCWMsgDelay(p.ChatID64, `📦Resources`, delay)
|
clientSendCWMsgDelay(p.ChatID64, `📦Resources`, delay)
|
||||||
p.Status = objSubTypeMessageStockAck
|
p.Status = objSubTypeMessageStockAck
|
||||||
b, _ = json.Marshal(&p)
|
b, _ = json.Marshal(&p)
|
||||||
err = createJobCallback(objSubTypeJobGDeposit, j.UserID64, objSubTypeMessageStockAck, b, delay)
|
err = createJobCallback(objSubTypeJobGDeposit, j.UserID64, objSubTypeMessageStockAck, b, 1*time.Minute)
|
||||||
logOnError(err, "jobGDeposit : createJobCallback")
|
logOnError(err, "jobGDeposit : createJobCallback")
|
||||||
delay = delay + 2*time.Second
|
delay = delay + 2*time.Second
|
||||||
}
|
}
|
||||||
@ -804,7 +804,7 @@ func jobGDeposit(j Job) {
|
|||||||
clientSendCWMsgDelay(p.ChatID64, `⚗️Alchemy`, delay)
|
clientSendCWMsgDelay(p.ChatID64, `⚗️Alchemy`, delay)
|
||||||
p.Status = 1
|
p.Status = 1
|
||||||
b, _ = json.Marshal(&p)
|
b, _ = json.Marshal(&p)
|
||||||
err = createJobCallback(objSubTypeJobGDeposit, j.UserID64, objSubTypeMessageOrderbookAck, b, delay)
|
err = createJobCallback(objSubTypeJobGDeposit, j.UserID64, objSubTypeMessageOrderbookAck, b, 1*time.Minute)
|
||||||
logOnError(err, "jobGDeposit : createJobCallback")
|
logOnError(err, "jobGDeposit : createJobCallback")
|
||||||
delay = delay + 2*time.Second
|
delay = delay + 2*time.Second
|
||||||
}
|
}
|
||||||
@ -812,7 +812,7 @@ func jobGDeposit(j Job) {
|
|||||||
clientSendCWMsgDelay(p.ChatID64, `🗃Misc`, delay)
|
clientSendCWMsgDelay(p.ChatID64, `🗃Misc`, delay)
|
||||||
p.Status = 1
|
p.Status = 1
|
||||||
b, _ = json.Marshal(&p)
|
b, _ = json.Marshal(&p)
|
||||||
err = createJobCallback(objSubTypeJobGDeposit, j.UserID64, objSubTypeMessageOrderbookAck, b, delay)
|
err = createJobCallback(objSubTypeJobGDeposit, j.UserID64, objSubTypeMessageOrderbookAck, b, 1*time.Minute)
|
||||||
logOnError(err, "jobGDeposit : createJobCallback")
|
logOnError(err, "jobGDeposit : createJobCallback")
|
||||||
delay = delay + 2*time.Second
|
delay = delay + 2*time.Second
|
||||||
}
|
}
|
||||||
@ -820,7 +820,7 @@ func jobGDeposit(j Job) {
|
|||||||
clientSendCWMsgDelay(p.ChatID64, `⚒Crafting`, delay)
|
clientSendCWMsgDelay(p.ChatID64, `⚒Crafting`, delay)
|
||||||
p.Status = 1
|
p.Status = 1
|
||||||
b, _ = json.Marshal(&p)
|
b, _ = json.Marshal(&p)
|
||||||
err = createJobCallback(objSubTypeJobGDeposit, j.UserID64, objSubTypeMessageOrderbookAck, b, delay)
|
err = createJobCallback(objSubTypeJobGDeposit, j.UserID64, objSubTypeMessageOrderbookAck, b, 1*time.Minute)
|
||||||
logOnError(err, "jobGDeposit : createJobCallback")
|
logOnError(err, "jobGDeposit : createJobCallback")
|
||||||
delay = delay + 2*time.Second
|
delay = delay + 2*time.Second
|
||||||
}
|
}
|
||||||
@ -828,7 +828,7 @@ func jobGDeposit(j Job) {
|
|||||||
clientSendCWMsgDelay(p.ChatID64, `🏷Equipment`, delay)
|
clientSendCWMsgDelay(p.ChatID64, `🏷Equipment`, delay)
|
||||||
p.Status = 1
|
p.Status = 1
|
||||||
b, _ = json.Marshal(&p)
|
b, _ = json.Marshal(&p)
|
||||||
err = createJobCallback(objSubTypeJobGDeposit, j.UserID64, objSubTypeMessageOrderbookAck, b, delay)
|
err = createJobCallback(objSubTypeJobGDeposit, j.UserID64, objSubTypeMessageOrderbookAck, b, 1*time.Minute)
|
||||||
logOnError(err, "jobGDeposit : createJobCallback")
|
logOnError(err, "jobGDeposit : createJobCallback")
|
||||||
delay = delay + 2*time.Second
|
delay = delay + 2*time.Second
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user