by Robin at 20240411

This commit is contained in:
Leufolium 2024-04-11 18:17:32 +08:00
parent 31903d0ed0
commit 50945229e6
1 changed files with 3 additions and 0 deletions

View File

@ -2094,6 +2094,9 @@ func (s *Service) ApiCreateZone(ctx *gin.Context, req *zoneproto.ApiCreateReq) (
ec = errcode.ErrCodeZoneSrvOk ec = errcode.ErrCodeZoneSrvOk
req.Zone.Mid = goproto.Int64(req.GetBaseRequest().Mid) req.Zone.Mid = goproto.Int64(req.GetBaseRequest().Mid)
req.Zone.ZoneMomentCount = goproto.Int64(0)
req.Zone.ImageCount = goproto.Int64(0)
req.Zone.VideoCount = goproto.Int64(0)
err := _DefaultZone.OpCreate(ctx, &zoneproto.OpCreateReq{ err := _DefaultZone.OpCreate(ctx, &zoneproto.OpCreateReq{
Zone: req.Zone, Zone: req.Zone,
}) })