Compare commits
No commits in common. "51db761716017ceface5c827fe43625715dc23a2" and "b01909e7f8dd25a7d11c63958f6ccd24afd302aa" have entirely different histories.
51db761716
...
b01909e7f8
@ -339,6 +339,9 @@ func GetUsedRecord(req *bundle.GetUsedRecordListReq) (*bundle.GetUsedRecordListR
|
|||||||
resp.Data = lo.Map(data, func(m model.CostLogPo, _ int) *bundle.WorkCastItem {
|
resp.Data = lo.Map(data, func(m model.CostLogPo, _ int) *bundle.WorkCastItem {
|
||||||
result := &bundle.WorkCastItem{}
|
result := &bundle.WorkCastItem{}
|
||||||
copier.Copy(result, &m)
|
copier.Copy(result, &m)
|
||||||
|
loc, _ := time.LoadLocation("Asia/Shanghai")
|
||||||
|
t := time.Unix(m.ArtistConfirmedTime, 0).In(loc)
|
||||||
|
result.ArtistConfirmedTime = t.Format(time.DateTime)
|
||||||
return result
|
return result
|
||||||
})
|
})
|
||||||
return resp, nil
|
return resp, nil
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user