test deposit all

This commit is contained in:
shoopea 2019-08-27 13:00:16 +08:00
parent 1cb624f8a7
commit dbd569d842

2
job.go
View File

@ -818,6 +818,8 @@ func jobGDeposit(j Job) {
for j := range p.ResObjID64 {
if cwm.Stock[i].ItemID64 == p.ResObjID64[j] {
log.Printf("jobGDeposit : objSubTypeMessageStockAck : Matching ItemID %d (%d).\n", p.ResObjID64[j], cwm.Stock[i].Quantity)
item, _ := getObjItem(p.ResObjID64[j])
clientSendCWMsgDelay(p.ChatID64, fmt.Sprintf("/g_deposit %s 0", item.Code))
}
}
}