Merge pull request 'by Robin at 20240416' (#294) from dev-feat-IRONFANS-70-Robin into feat-IRONFANS-70

Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/294
This commit is contained in:
chenhao 2024-04-16 19:10:53 +08:00
commit ae1b97f5bd
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)
}