1
This commit is contained in:
parent
8bdc5982df
commit
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