debug
This commit is contained in:
parent
5fe9a88ea3
commit
c7c02661ef
3
job.go
3
job.go
@ -705,6 +705,9 @@ func jobGStock(j Job) {
|
|||||||
err = json.Unmarshal(j.Payload, &p)
|
err = json.Unmarshal(j.Payload, &p)
|
||||||
logOnError(err, "jobGStock : Unmarshal payload")
|
logOnError(err, "jobGStock : Unmarshal payload")
|
||||||
|
|
||||||
|
fmt.Printf("jobGStock : Progress => %d\n", p.Progress)
|
||||||
|
fmt.Printf("jobGStock : UserID64 => %d\n", j.UserID64)
|
||||||
|
|
||||||
switch p.Progress {
|
switch p.Progress {
|
||||||
case 0: // send /g_stock_res
|
case 0: // send /g_stock_res
|
||||||
p.Progress = 1
|
p.Progress = 1
|
||||||
|
Loading…
Reference in New Issue
Block a user