by Robin at 20240416

This commit is contained in:
Leufolium 2024-04-16 19:10:04 +08:00
parent 3940762760
commit 5cd1cbf027
1 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ type ApiListExtVO struct {
Zones []*dbstruct.Zone `json:"zones" bson:"zones"`
IsActiveWithinAWeek *int64 `json:"is_active_within_a_week"` // 7日内空间是否活跃
TimeElapsedSinceTheLastZonesUpdate *int64 `json:"time_elapsed_since_the_last_zones_update"` // 空间最后活跃时间距离现在时间跨度
DaysElapsedSinceTheLastZonesUpdate *int64 `json:"days_elapsed_since_the_last_zones_update"` // 空间最后活跃时间距离现在时间跨度
}
func (vo *ApiListExtVO) GetMid() int64 {
@ -124,5 +124,5 @@ func (vo *ApiListExtVO) SetIsActiveWithinAWeek(is_active_within_a_week int64) {
}
func (vo *ApiListExtVO) SetDaysElapsedSinceTheLastZonesUpdate(days_elapsed_since_the_last_zones_update int64) {
vo.TimeElapsedSinceTheLastZonesUpdate = goproto.Int64(days_elapsed_since_the_last_zones_update)
vo.DaysElapsedSinceTheLastZonesUpdate = goproto.Int64(days_elapsed_since_the_last_zones_update)
}