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:
commit
e19fb1724e
|
@ -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