From a1bb6f4a011ba219994e4ee8490882172b9fb3c7 Mon Sep 17 00:00:00 2001 From: Leufolium Date: Wed, 7 Feb 2024 14:06:05 +0800 Subject: [PATCH] by Robin at 20240207 --- api/proto/moment/proto/not_null_def_api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/proto/moment/proto/not_null_def_api.go b/api/proto/moment/proto/not_null_def_api.go index b7c83d0f..35865e51 100644 --- a/api/proto/moment/proto/not_null_def_api.go +++ b/api/proto/moment/proto/not_null_def_api.go @@ -24,7 +24,7 @@ func (p *ApiUpdateReq) ProvideNotNullValue() (params []*validator.JsonParam) { params = make([]*validator.JsonParam, 0) params = append(params, validator.NewInt64PtrParam("请确认待更新动态的id!", p.Moment.Id)) - params = append(params, validator.NewStructPtrParam("动态内容不能为空!", p.Moment)) + //params = append(params, validator.NewStructPtrParam("动态内容不能为空!", p.Moment)) return }