package model type Appraise struct { Id int64 `db:"id"` GoodsId int64 `db:"goods_id"` BuyerId int64 `db:"buyer_id"` Time int64 `db:"time"` Content string `db:"content"` Star int `db:"star"` } type AppraiseJson struct { GoodsId int64 `json:"goodsId"` BuyerId int64 `json:"buyerId"` Time int64 `json:"time"` Content string `json:"content"` Star int `json:"star"` }