by Robin at 20240411

This commit is contained in:
Leufolium 2024-04-11 21:56:48 +08:00
parent b4e04b8841
commit 1ecae673f6
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) {
if zones == nil {
vo.Zones = make([]*dbstruct.Zone, 0)
} else {
vo.Zones = zones
}
}