From 055bbcdf82d192feb253a582c553c9a6276fb57c Mon Sep 17 00:00:00 2001 From: Leufolium Date: Wed, 16 Oct 2024 17:43:52 +0800 Subject: [PATCH] 1 --- api/proto/Raven_IQ_test_visit/proto/not_null_def_api.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/proto/Raven_IQ_test_visit/proto/not_null_def_api.go b/api/proto/Raven_IQ_test_visit/proto/not_null_def_api.go index 064a371c..de782944 100644 --- a/api/proto/Raven_IQ_test_visit/proto/not_null_def_api.go +++ b/api/proto/Raven_IQ_test_visit/proto/not_null_def_api.go @@ -5,7 +5,7 @@ import ( ) // op 创建 -func (p *OpCreateReq) ProvideNotNullValue() (params []*validator.JsonParam) { +func (p *ApiCreateReq) ProvideNotNullValue() (params []*validator.JsonParam) { params = make([]*validator.JsonParam, 0) params = append(params, validator.NewStringPtrParam("请确认用户id", p.RavenIQTestVisit.UserId)) params = append(params, validator.NewInt64PtrParam("请确认访问类型", p.RavenIQTestVisit.VType)) @@ -14,7 +14,7 @@ func (p *OpCreateReq) ProvideNotNullValue() (params []*validator.JsonParam) { } // op 计数 -func (p *OpCountReq) ProvideNotNullValue() (params []*validator.JsonParam) { +func (p *ApiCountReq) ProvideNotNullValue() (params []*validator.JsonParam) { params = make([]*validator.JsonParam, 0) params = append(params, validator.NewInt64PtrParam("请确认访问类型", p.VType)) params = append(params, validator.NewInt64PtrParam("请确认计数类型", p.CType))