2025-03-07 17:23:50 +08:00

20 lines
709 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package requests
type PublicRequest struct {
Login // 登陆
GetOssSign // 获取oss签名
}
// Login 登陆
type Login struct {
Access string `json:"access" form:"access" validate:"required" label:"用户名"` // 用户名
Password string `json:"password" form:"password" validate:"required" label:"密码"` // 密码
Captcha string `json:"captcha" form:"captcha" validate:"required" label:"验证码"` // 验证码
CaptchaId string `json:"captchaId" form:"captchaId" validate:"required"` // 验证码ID
}
// GetOssSign 获取oss签名
type GetOssSign struct {
Scene int `json:"scene" form:"scene" validate:"required,oneof=1 2" label:"场景"` // 1:分类图标)
}