test deposit all

This commit is contained in:
shoopea 2019-08-27 13:01:42 +08:00
parent 3954526cb7
commit 418f62c07e

2
job.go
View File

@ -819,7 +819,7 @@ func jobGDeposit(j Job) {
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])
clientSendCWMsg(p.ChatID64, fmt.Sprintf("/g_deposit %s 0", item.Code))
clientSendCWMsg(p.ChatID64, fmt.Sprintf("/g_deposit %s 1", item.Code))
}
}
}