second gdeposit review
This commit is contained in:
parent
68935f7132
commit
7e20409fde
6
job.go
6
job.go
@ -722,14 +722,16 @@ func jobGDeposit(j Job) {
|
|||||||
ResObjID64: []int64{obj.ObjID64},
|
ResObjID64: []int64{obj.ObjID64},
|
||||||
Status: 1,
|
Status: 1,
|
||||||
}
|
}
|
||||||
err = createJobCallback(objSubTypeJobGDeposit, j.UserID64, objSubTypeMessageOrderbookAck, p2)
|
b2, _ := json.Marshal(&p2)
|
||||||
|
err = createJobCallback(objSubTypeJobGDeposit, j.UserID64, objSubTypeMessageOrderbookAck, b2)
|
||||||
clientSendCWMsg(p.ChatID64, fmt.Sprintf("/t_%s", obj.Code))
|
clientSendCWMsg(p.ChatID64, fmt.Sprintf("/t_%s", obj.Code))
|
||||||
logOnError(err, "jobGDeposit : createJobCallback")
|
logOnError(err, "jobGDeposit : createJobCallback")
|
||||||
}
|
}
|
||||||
p.ResObjID64 = p.ResObjID64[1:]
|
p.ResObjID64 = p.ResObjID64[1:]
|
||||||
}
|
}
|
||||||
if len(p.ResObjID64) > 0 {
|
if len(p.ResObjID64) > 0 {
|
||||||
err = createJobCallback(objSubTypeJobGDeposit, j.UserID64, objSubTypeMessageOrderbookAck, p)
|
b, _ := json.Marshal(&p)
|
||||||
|
err = createJobCallback(objSubTypeJobGDeposit, j.UserID64, objSubTypeMessageOrderbookAck, b)
|
||||||
logOnError(err, "jobGDeposit : createJobCallback")
|
logOnError(err, "jobGDeposit : createJobCallback")
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user