15 lines
566 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 LoginRequest struct {
Login // 登录
}
// Login 登录
type Login struct {
Source int `json:"source" form:"source" label:"来源" validate:"required,oneof=2"` // 1app 2公众号
OpenId string `json:"openid" form:"openid" label:"openid" validate:"required"`
HeadImgUrl string `json:"headimgurl" form:"headimgurl" label:"头像"`
UnionId string `json:"unionid" form:"unionid" label:"unionid" validate:"required"`
UserName string `json:"user_name" form:"user_name" label:"用户名称" validate:"required"`
}