123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- package model
- const (
-
- MobileUserAgentFlag = "Mobile"
-
- PlatH5 = "h5"
-
- PlatPC = "pc"
- )
- type ProcessRes struct {
- Success int64 `json:"success"`
- CaptchaID string `json:"gt"`
- Challenge string `json:"challenge"`
- NewCaptcha int `json:"new_captcha"`
- }
- type ValidateRes struct {
- Seccode string `json:"seccode"`
- }
- type GeeCaptchaRequest struct {
- MID int64 `json:"mid" form:"mid"`
- IP string `json:"ip" form:"ip"`
-
- ClientType string `json:"client_type" form:"client_type" default:"web"`
- }
- type GeeCheckRequest struct {
- MID int64
- Challenge string `json:"challenge" form:"challenge" validate:"required"`
- Validate string `json:"validate" form:"validate" validate:"required"`
- Seccode string `json:"seccode" form:"seccode" validate:"required"`
- ClientType string `json:"client_type" form:"client_type" default:"web"`
- }
- type GeeCheckResponse struct {
- NewVoucher string `json:"new_voucher"`
- }
|