test deposit
This commit is contained in:
parent
4c0bfb9d48
commit
e7a6f0bd29
3
job.go
3
job.go
@ -852,7 +852,8 @@ func jobGDeposit(j Job) {
|
|||||||
clientSendCWMsg(p.ChatID64, fmt.Sprintf("/g_deposit %s 1", item.Code))
|
clientSendCWMsg(p.ChatID64, fmt.Sprintf("/g_deposit %s 1", item.Code))
|
||||||
p2 := JobPayloadGDepositForward{
|
p2 := JobPayloadGDepositForward{
|
||||||
ItemID64: p.ResObjID64[resIdx],
|
ItemID64: p.ResObjID64[resIdx],
|
||||||
Quantity: cwm.Stock[stockIdx].Quantity,
|
Quantity: 1,
|
||||||
|
//Quantity: cwm.Stock[stockIdx].Quantity,
|
||||||
}
|
}
|
||||||
b2, _ := json.Marshal(p2)
|
b2, _ := json.Marshal(p2)
|
||||||
err = createJobCallback(objSubTypeJobGDepositForward, j.UserID64, objSubTypeMessageGDepositAck, b2, time.Duration(1*time.Minute))
|
err = createJobCallback(objSubTypeJobGDepositForward, j.UserID64, objSubTypeMessageGDepositAck, b2, time.Duration(1*time.Minute))
|
||||||
|
Loading…
Reference in New Issue
Block a user