fill jobPillage.Date field

This commit is contained in:
shoopea 2019-08-04 17:13:42 +08:00
parent f27554d62e
commit 2a876195a9

View File

@ -399,6 +399,7 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) {
TGCmdQueue <- s
p := JobPayloadPillage{
ObjID64: objId,
Date: m.Date,
}
b, _ := json.Marshal(&p)
_, err = createJob(objSubTypeJobPillage, objJobPriority, m.TGUserID64, m.Date.Add(time.Duration(25+rand.Intn(35))*time.Second), b)