1 #680

Merged
chenhao merged 1 commits from BUG-20240806 into test 2024-08-06 13:32:42 +08:00
2 changed files with 15 additions and 11 deletions

View File

@ -7,4 +7,6 @@ type ReferentialZoneMoment struct {
MediaComp *dbstruct.MediaComponent `json:"media_component"` // 动态媒体内容
MType *int64 `json:"m_type"` // 媒体类型,见: MediaType*
Status *int64 `json:"status"` // 审批状态
MediaAmount *int64 `json:"media_amount"` // 媒体数量
MediaVisibleRange *int64 `json:"media_visible_range"` // 媒体可见数量
}

View File

@ -2642,6 +2642,8 @@ func (s *Service) ApiCreateZone(ctx *gin.Context, req *zoneproto.ApiCreateReq) (
MediaComp: cfg.MediaComp,
MType: cfg.MType,
Status: cfg.Status,
MediaAmount: cfg.MediaAmount,
MediaVisibleRange: cfg.MediaVisibleRange,
},
})
if err != nil {