Documentation ¶
Index ¶
Constants ¶
View Source
const ( OrderWait = iota // 0 初始值 OrderSuccess // 1 OrderFailed // 2 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
func NewMessage ¶
type Product ¶
type Product struct { // json用于JSON序列化 sql用于MySQL操作 form用于把form表单数据映射为Product模型 ID int64 `json:"id" sql:"id" form:"ID"` ProductName string `json:"product_mame" sql:"product_name" form:"ProductName"` ProductNum int64 `json:"product_num" sql:"product_num" form:"ProductNum"` ProductImage string `json:"product_image" sql:"product_image" form:"ProductImage"` ProductUrl string `json:"product_url" sql:"product_url" form:"ProductUrl"` }
商品模型
Click to show internal directories.
Click to hide internal directories.