17 lines
664 B
Go
17 lines
664 B
Go
package model
|
|
|
|
type AppSideCaptchaModel struct {
|
|
CaptchaKey string `json:"captchaKey" dc:"key"`
|
|
ImageBase64 string `json:"imageBase64" dc:"背景图片"`
|
|
TileBase64 string `json:"tileBase64" dc:"滑块图片"`
|
|
TileWidth int `json:"tileWidth" dc:"滑块宽"`
|
|
TileHeight int `json:"tileHeight" dc:"滑块高"`
|
|
TileX int `json:"tileX" dc:"滑块X坐标"`
|
|
TileY int `json:"tileY" dc:"滑块Y坐标"`
|
|
}
|
|
|
|
type AppCheckSideCaptchaParam struct {
|
|
CaptchaKey string `json:"captchaKey" v:"required#滑块验证码key不能为空" dc:"key"`
|
|
Point string `json:"point" v:"required#滑块坐标不能为空" dc:"滑块坐标位置"`
|
|
}
|