by Robin at 20240411 #277

Merged
chenhao merged 1 commits from dev-feat-IRONFANS-70-Robin into feat-IRONFANS-70 2024-04-11 21:57:04 +08:00
1 changed files with 5 additions and 1 deletions

View File

@ -110,5 +110,9 @@ func (vo *ApiListExtVO) CopyUserVas(userVas *dbstruct.UserVasInfo) {
}
func (vo *ApiListExtVO) CopyZones(zones []*dbstruct.Zone) {
vo.Zones = zones
if zones == nil {
vo.Zones = make([]*dbstruct.Zone, 0)
} else {
vo.Zones = zones
}
}