Documentation ¶
Index ¶
- func Content(c *gin.Context)
- func Create(c *gin.Context)
- func List(c *gin.Context)
- func OffSale(c *gin.Context)
- func OnSale(c *gin.Context)
- func One(c *gin.Context)
- func Remove(c *gin.Context)
- func Update(c *gin.Context)
- type ReqCreateOrUpdate
- type ReqList
- type ReqOnSale
- type ReqRemove
- type ReqUpdate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ReqCreateOrUpdate ¶
type ReqCreateOrUpdate struct { Id int `json:"id"` Title string `json:"title"` SubTitle string `json:"subTitle"` Gallery []string `json:"gallery"` SaleTime string `json:"saleTime"` Cids []string `json:"cids"` SkuList []mysql.ComSku `json:"skuList"` FreightFee float64 `json:"freightFee"` // 运费 FreightId int `json:"freightId"` // 运费模板id }
Click to show internal directories.
Click to hide internal directories.