diff --git a/api/proto/zonemoment/proto/not_null_def_api.go b/api/proto/zonemoment/proto/not_null_def_api.go index cccb6e46..88385610 100644 --- a/api/proto/zonemoment/proto/not_null_def_api.go +++ b/api/proto/zonemoment/proto/not_null_def_api.go @@ -19,10 +19,6 @@ func (p *ApiCreateReq) ProvideNotNullValue() (params []*validator.JsonParam) { case consts.ZoneMomentCType_Paid: params = append(params, validator.NewInt64PtrParam("请确认创建动态的文字可见范围!", p.ZoneMoment.TextVisibleRange)) params = append(params, validator.NewInt64PtrParam("请确认创建动态的价格!", p.ZoneMoment.Price)) - params = append(params, validator.NewInt64PtrParam("请确认是否添加付费文案!", p.ZoneMoment.IsCreatingPaidText)) - if p.ZoneMoment.GetIsCreatingPaidText() == 1 { - params = append(params, validator.NewStringPtrParam("请确认创建动态的付费文案!", p.PaidText)) - } switch util.DerefInt64(p.ZoneMoment.MType) { case consts.MediaTypeImg: params = append(params, validator.NewInt64PtrParam("请确认创建动态的媒体可见范围!", p.ZoneMoment.MediaVisibleRange)) diff --git a/api/proto/zonemoment/proto/not_null_def_op.go b/api/proto/zonemoment/proto/not_null_def_op.go index 3dbb2a32..5f9d6039 100644 --- a/api/proto/zonemoment/proto/not_null_def_op.go +++ b/api/proto/zonemoment/proto/not_null_def_op.go @@ -19,10 +19,6 @@ func (p *OpCreateReq) ProvideNotNullValue() (params []*validator.JsonParam) { case consts.ZoneMomentCType_Paid: params = append(params, validator.NewInt64PtrParam("请确认创建动态的文字可见范围!", p.ZoneMoment.TextVisibleRange)) params = append(params, validator.NewInt64PtrParam("请确认创建动态的价格!", p.ZoneMoment.Price)) - params = append(params, validator.NewInt64PtrParam("请确认是否添加付费文案!", p.ZoneMoment.IsCreatingPaidText)) - if p.ZoneMoment.GetIsCreatingPaidText() == 1 { - params = append(params, validator.NewStringPtrParam("请确认创建动态的付费文案!", p.PaidText)) - } switch util.DerefInt64(p.ZoneMoment.MType) { case consts.MediaTypeImg: params = append(params, validator.NewInt64PtrParam("请确认创建动态的媒体可见范围!", p.ZoneMoment.MediaVisibleRange))