fill jobPillage.Date field
This commit is contained in:
parent
f27554d62e
commit
2a876195a9
@ -399,6 +399,7 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) {
|
|||||||
TGCmdQueue <- s
|
TGCmdQueue <- s
|
||||||
p := JobPayloadPillage{
|
p := JobPayloadPillage{
|
||||||
ObjID64: objId,
|
ObjID64: objId,
|
||||||
|
Date: m.Date,
|
||||||
}
|
}
|
||||||
b, _ := json.Marshal(&p)
|
b, _ := json.Marshal(&p)
|
||||||
_, err = createJob(objSubTypeJobPillage, objJobPriority, m.TGUserID64, m.Date.Add(time.Duration(25+rand.Intn(35))*time.Second), b)
|
_, err = createJob(objSubTypeJobPillage, objJobPriority, m.TGUserID64, m.Date.Add(time.Duration(25+rand.Intn(35))*time.Second), b)
|
||||||
|
Loading…
Reference in New Issue
Block a user