Documentation ¶
Index ¶
Constants ¶
View Source
const ( CodeFileTooBig data.CodeType = -3 CodeNotImage data.CodeType = -4 CodeWipinNotFound data.CodeType = -5 CodeBadName data.CodeType = -6 CodeRealPrice data.CodeType = -7 CodeBadShopInfo data.CodeType = -8 CodeClassNotFound data.CodeType = -9 )
View Source
const Size2MB = 2 * 1024 * 1024
View Source
const Size3MB = 3 * 1024 * 1024
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Query ¶
type Query struct { ID uint `json:"id"` Name string `json:"name"` ClassID uint `json:"classId"` Tag string `json:"tag"` HotPrice modeltype.PriceNullJson `json:"hotPrice"` RealPrice modeltype.Price `json:"realPrice"` Info string `json:"info"` Ren string `json:"ren"` Phone string `json:"phone"` Email string `json:"email"` Wechat string `json:"wechat"` Location string `json:"location"` Pic string `json:"pic"` Hot bool `json:"hot"` Down bool `json:"down"` File *multipart.FileHeader `form:"file"` }
Click to show internal directories.
Click to hide internal directories.