package model //对应mongo SKU type LySkuMongo struct { SpuId int64 `bson:"spu_id"` GoodsId int64 `json:"goods_id" bson:"goods_id"` SupplierId int `json:"supplier_id" bson:"supplier_id"` Moq int `json:"moq" bson:"moq"` Encoded int `json:"encoded" bson:"encoded"` Canal string `json:"canal" bson:"canal"` OldGoodsId int `json:"old_goods_id" bson:"old_goods_id"`//创建sku接口 不包含OldGoodsId }