Merge branch 'dev-lzh-0905' into dev
This commit is contained in:
commit
51db761716
@ -339,9 +339,6 @@ 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