You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
532 B
24 lines
532 B
package model |
|
|
|
// var |
|
var ( |
|
// Geetest captcha_type . |
|
Geetest = "gt" |
|
BiliCaptcha = "bili" |
|
) |
|
|
|
// ProcessRes geetest Captcha resp info. |
|
type ProcessRes struct { |
|
Success int8 `json:"success"` |
|
CaptchaID string `json:"gt"` |
|
Challenge string `json:"challenge"` |
|
NewCaptcha int `json:"new_captcha"` |
|
CaptchaType string `json:"type,omitempty"` |
|
Token string `json:"token,omitempty"` |
|
URL string `json:"url,omitempty"` |
|
} |
|
|
|
// ValidateRes info. |
|
type ValidateRes struct { |
|
Seccode string `json:"seccode"` |
|
}
|
|
|