From f7f6535cc0bec752f555dfea87c4e6d976f03cca Mon Sep 17 00:00:00 2001 From: Leufolium Date: Sat, 11 May 2024 18:22:17 +0800 Subject: [PATCH] by Robin at 20240511 --- .../zone_third_partner/proto/not_null_def_op.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 api/proto/zone_third_partner/proto/not_null_def_op.go diff --git a/api/proto/zone_third_partner/proto/not_null_def_op.go b/api/proto/zone_third_partner/proto/not_null_def_op.go new file mode 100644 index 00000000..50cb14f4 --- /dev/null +++ b/api/proto/zone_third_partner/proto/not_null_def_op.go @@ -0,0 +1,13 @@ +package proto + +import ( + "service/library/validator" +) + +func (p *OpSetIsHidedReq) ProvideNotNullValue() (params []*validator.JsonParam) { + params = make([]*validator.JsonParam, 0) + + params = append(params, validator.NewInt64PtrParam("请填写空间id!", p.Zid)) + params = append(params, validator.NewInt64PtrParam("请填写是否隐藏!", p.IsHided)) + return +}