Merge pull request 'by Robin at 20240411' (#277) from dev-feat-IRONFANS-70-Robin into feat-IRONFANS-70
Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/277
This commit is contained in:
commit
c420f41c05
|
@ -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