Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BalanceQueries ¶
type BalanceRespBody ¶
type ItemInBody ¶
type ItemInBody struct { Amount int `json:"amount" validate:"required|int" message:"int:{field} 必填且必须是数字类型"` Kind string `` /* 129-byte string literal not displayed */ TagId string `json:"tag_id" validate:"required" message:"required:{field} 必填"` UserId string `json:"user_id" validate:"required" message:"required:{field} 必填"` HappenedAt time.Time `json:"-" validate:"-"` }
func (*ItemInBody) ToModel ¶
func (r *ItemInBody) ToModel() *model.Item
type ItemListQueries ¶
type TagInBody ¶
type TagInBody struct { Name string `json:"name" validate:"required" message:"required:{field} 必填"` Kind string `` /* 129-byte string literal not displayed */ Sign string `json:"sign" validate:"required" message:"required:{field} 必填"` UserId string `json:"userId" validate:"required" message:"required:{field} 必填"` }
type TagListQueries ¶
type UserEmailBody ¶
type UserEmailBody struct {
Email string `json:"email" validate:"required|email" message:"required:{field} 必填|email:{field} 邮箱格式错误"`
}
type UserInBody ¶
type UserInBody struct { Email string `json:"email" validate:"required|email" message:"required:{field} 必填|email:{field} 邮箱格式错误"` VerificationCode string `` /* 171-byte string literal not displayed */ }
func (*UserInBody) ToModel ¶
func (r *UserInBody) ToModel() *model.User
type UserOutBody ¶
type UserProfileResp ¶
Click to show internal directories.
Click to hide internal directories.