Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckCaptcha ¶
CheckCaptcha 获取验证码验证 @param map[string]interface{} data 待验证数据 @return toMap 返回验证通过的数据
func GetCaptcha ¶
GetCaptcha 获取验证码验证 @param map[string]interface{} data 待验证数据 @return toMap 返回验证通过的数据
Types ¶
type CheckCaptchaValidate ¶
type CheckCaptchaValidate struct { CaptchaType string `json:"captchaType" validate:"required" label:"验证码类型"` Token string `json:"token" validate:"required" label:"验证码Token"` PointJson string `json:"pointJson" validate:"required" label:"验证码PointJson"` }
CheckCaptchaValidate 检查验证码正确性结构体
type GetCaptchaValidate ¶
type GetCaptchaValidate struct {
CaptchaType string `json:"captchaType" validate:"required" label:"验证码类型"`
}
GetCaptchaValidate 获取验证码验证结构体
Click to show internal directories.
Click to hide internal directories.