test gdeposit
This commit is contained in:
parent
68f1ab23f5
commit
38afcbc367
5
job.go
5
job.go
@ -715,7 +715,9 @@ func jobGDeposit(j Job) {
|
||||
if p.Status == 0 { /* handle remaining resources to be stored */
|
||||
if len(p.ResObjID64) > 0 {
|
||||
obj, err := getObjItem(p.ResObjID64[0])
|
||||
if err != nil {
|
||||
logOnError(err, "jobGDeposit : getObjItem")
|
||||
|
||||
if err == nil {
|
||||
p2 := JobPayloadGDeposit{
|
||||
MsgID64: p.MsgID64,
|
||||
ChatID64: p.ChatID64,
|
||||
@ -728,6 +730,7 @@ func jobGDeposit(j Job) {
|
||||
clientSendCWMsg(p.ChatID64, fmt.Sprintf("/t_%s", obj.Code))
|
||||
logOnError(err, "jobGDeposit : createJobCallback")
|
||||
}
|
||||
|
||||
p.ResObjID64 = p.ResObjID64[1:]
|
||||
}
|
||||
if len(p.ResObjID64) > 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user