by Robin at 20240411
This commit is contained in:
parent
31903d0ed0
commit
50945229e6
|
@ -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,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue