auditmilit at
This commit is contained in:
@@ -162,7 +162,7 @@ func GetJob(db *DaoDB, userIDs []string, categoryIDs, statuss, types []int, from
|
|||||||
return job, fmt.Errorf("未查询到对应的京东快递任务!")
|
return job, fmt.Errorf("未查询到对应的京东快递任务!")
|
||||||
}
|
}
|
||||||
if data, err := json.Marshal(jobs[0]); err == nil {
|
if data, err := json.Marshal(jobs[0]); err == nil {
|
||||||
json.Unmarshal(data, job)
|
json.Unmarshal(data, &job)
|
||||||
}
|
}
|
||||||
return job, err
|
return job, err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user