diff --git a/api/requests/caV2.go b/api/requests/caV2.go index 835070d..401c7c3 100644 --- a/api/requests/caV2.go +++ b/api/requests/caV2.go @@ -24,7 +24,7 @@ type GetCaV2ServiceURL struct { DeptPersonPhone string `json:"deptPersonPhone" form:"deptPersonPhone"` AgentName string `json:"agentName" form:"agentName"` AgentIDCard string `json:"agentIdCard" form:"agentIdCard"` - AuthMethod string `json:"authMethod" form:"authMethod" validate:"omitempty,oneof=face SMS" label:"认证方式"` + AuthMethod string `json:"authMethod" form:"authMethod" validate:"omitempty,oneof=face sms" label:"认证方式"` } func (r GetCaV2ServiceURL) ValidateBusinessFields() string {