Merge pull request 'by Robin at 20240411' (#261) from dev-feat-IRONFANS-70-Robin into feat-IRONFANS-70

Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/261
This commit is contained in:
chenhao 2024-04-11 18:17:47 +08:00
commit e19fb1724e
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,
}) })