feat-IRONFANS-70 #348

Merged
chenhao merged 2 commits from feat-IRONFANS-70 into test 2024-04-25 20:18:48 +08:00
1 changed files with 0 additions and 6 deletions

View File

@ -43,12 +43,6 @@ func (p *ApiUpdateReq) ProvideNotNullValue() (params []*validator.JsonParam) {
}
if p.MediaComp != nil {
params = append(params, validator.NewStructPtrParam("请确认创建动态的媒体!", p.MediaComp))
switch util.DerefInt64(p.ZoneMoment.MType) {
case consts.MediaTypeImg:
params = append(params, validator.NewInt64PtrParam("请确认创建动态的媒体可见范围!", p.ZoneMoment.MediaVisibleRange))
case consts.MediaTypeVideo:
params = append(params, validator.NewInt64PtrParam("请确认创建动态是否要模糊封面!", p.ZoneMoment.IsBlurringCover))
}
}
}
return