This commit is contained in:
Leufolium 2024-10-16 17:43:52 +08:00
parent 7d80e09e44
commit 055bbcdf82
1 changed files with 2 additions and 2 deletions

View File

@ -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))