by Robin at 20240411
This commit is contained in:
parent
b4e04b8841
commit
1ecae673f6
|
@ -110,5 +110,9 @@ func (vo *ApiListExtVO) CopyUserVas(userVas *dbstruct.UserVasInfo) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (vo *ApiListExtVO) CopyZones(zones []*dbstruct.Zone) {
|
func (vo *ApiListExtVO) CopyZones(zones []*dbstruct.Zone) {
|
||||||
vo.Zones = zones
|
if zones == nil {
|
||||||
|
vo.Zones = make([]*dbstruct.Zone, 0)
|
||||||
|
} else {
|
||||||
|
vo.Zones = zones
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue