service/api/proto/vericode/proto/not_null_def_api.go

12 lines
370 B
Go

package proto
import "service/library/validator"
// op 发送
func (p *ApiSendReq) ProvideNotNullValue() (params []*validator.JsonParam) {
params = make([]*validator.JsonParam, 2)
params[0] = validator.NewStringParam("请输入您的手机号!", p.MobilePhone)
params[1] = validator.NewStringParam("请确认您的国家编码!", p.RegionCode)
return params
}