Compare commits
2 Commits
b01909e7f8
...
51db761716
Author | SHA1 | Date | |
---|---|---|---|
51db761716 | |||
c69a5d8c14 |
@ -339,9 +339,6 @@ func GetUsedRecord(req *bundle.GetUsedRecordListReq) (*bundle.GetUsedRecordListR
|
||||
resp.Data = lo.Map(data, func(m model.CostLogPo, _ int) *bundle.WorkCastItem {
|
||||
result := &bundle.WorkCastItem{}
|
||||
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 resp, nil
|
||||
|
Loading…
Reference in New Issue
Block a user