mirror of
https://github.com/iLoveElysia/openbilibili.git
synced 2026-03-14 05:46:26 -05:00
25 lines
532 B
Go
25 lines
532 B
Go
|
|
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"`
|
||
|
|
}
|