Documentation ¶
Index ¶
- func CollectGoods(c *gin.Context)
- func GetOne(c *gin.Context)
- func GetUserGoodsOne(c *gin.Context)
- func List(c *gin.Context)
- func ShareGoods(c *gin.Context)
- func StarGoods(c *gin.Context)
- func Stats(c *gin.Context)
- func UncollectGoods(c *gin.Context)
- func UnstarGoods(c *gin.Context)
- type File
- type OutputUserGoods
- type ReqList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetUserGoodsOne ¶
Types ¶
type OutputUserGoods ¶
type OutputUserGoods struct { Id int `json:"id" form:"id" gorm:"primary_key"` // 主键ID CreatedAt time.Time `json:"createdAt" form:"createdAt" ` // 创建时间 GoodsId int `json:"goodsId" form:"goodsId" ` // 商品ID TypeId int `json:"typeId" form:"typeId" ` // 类型id Name string `json:"name" form:"name" ` // 商品名称 Cover string `json:"cover"` IsPay int `json:"isPay" form:"isPay" ` // 是否购买 IsStar int `json:"isStar" form:"isStar" ` // 是否关注 IsCreate int `json:"isCreate" form:"isCreate" ` // 是否上传 IsPrePay int `json:"isPrePay" form:"isPrePay" ` // 是否预购买 CntView int `json:"cntView"` Desc string `json:"desc"` CreatedName string `json:"createdName"` TypeName string `json:"typeName"` }
todo 迁移到model
Click to show internal directories.
Click to hide internal directories.