This commit is contained in:
parent
eafb373bd4
commit
d9902a3f60
|
@ -0,0 +1,22 @@
|
|||
package proto
|
||||
|
||||
import (
|
||||
"service/library/validator"
|
||||
)
|
||||
|
||||
// op 创建
|
||||
func (p *OpCreateReq) 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))
|
||||
params = append(params, validator.NewInt64PtrParam("请确认访问时间", p.RavenIQTestVisit.Ct))
|
||||
return
|
||||
}
|
||||
|
||||
// op 计数
|
||||
func (p *OpCountReq) ProvideNotNullValue() (params []*validator.JsonParam) {
|
||||
params = make([]*validator.JsonParam, 0)
|
||||
params = append(params, validator.NewInt64PtrParam("请确认访问类型", p.VType))
|
||||
params = append(params, validator.NewInt64PtrParam("请确认计数类型", p.CType))
|
||||
return
|
||||
}
|
Loading…
Reference in New Issue