Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { Name string `form:"name" json:"name" xml:"name" binding:"required" label:"收货人"` Phone string `form:"phone" json:"phone" xml:"phone" binding:"required" label:"手机号码"` Province string `form:"province" json:"province" xml:"province" binding:"required" label:"省份"` City string `form:"city" json:"city" xml:"city" binding:"required" label:"城市"` Region string `form:"region" json:"region" xml:"region" binding:"required" label:"地区"` Detail string `form:"detail" json:"detail" xml:"detail" binding:"required" label:"详细地址"` IsDefault uint32 `form:"is_default" json:"is_default" xml:"is_default" binding:"on-off" label:"是否默认地址"` PostCode string `form:"post_code" json:"post_code" xml:"post_code" label:"邮政编码"` }
Click to show internal directories.
Click to hide internal directories.