This commit is contained in:
aozhiwei 2024-11-13 14:25:30 +08:00
parent 077324f548
commit dd4c0cd123

View File

@ -15,4 +15,5 @@ func (this *Chip) FromModel(m *model.Chip) {
nowTime := f5.GetApp().GetRealSeconds()
this.ItemId = m.ItemId
this.LeftTime = int32(nowTime) - m.ExpireTime
this.TotalTime = int32(nowTime) - m.ExpireTime
}