Merge pull request '1' (#682) from BUG-20240806 into main

Reviewed-on: http://121.41.31.146:3000/wishpal_ironfan/service/pulls/682
This commit is contained in:
chenhao 2024-08-06 14:15:38 +08:00
commit cb207efa72
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 {