auditmilit at

This commit is contained in:
苏尹岚
2020-11-05 15:04:43 +08:00
parent 7b69b96a8a
commit bb373ef391

View File

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