123456789101112131415161718192021222324 |
- package vo
- type ProductPhoto struct {
- PhotoUrl string `json:"photo_url"` // 图片或视频url
- PhotoUid string `json:"photo_uid"`
- Symbol int64 `json:"symbol"` // 图片为主图或详情图标志位,1为主图,2为轮播图,3为轮播视频. 4为详情图. 5为详情视频
- }
- type ProductCreateParam struct {
- EnterpriseId string `json:"enterprise_id"` // 要绑定的企业id
- ProductName string `json:"product_name"` // 商品名称
- ProductType int64 `json:"product_type"` // 商品类型
- ShopAddress string `json:"shop_address"` // 店铺地址,商品类型为线下品牌时需填写
- ProductDetail string `json:"product_detail"` // 商品详细
- ProductPrice float64 `json:"product_price"` // 商品价值
- ProductPhotos []ProductPhoto `json:"product_photos"` // 商品图片列表
- ProductUrl string `json:"product_url"` // 商品链接,可为电商网址、公司官网、大众点评的店铺地址等可以说明商品信息或者品牌信息的线上地址;
- BrandName string `json:"brand_name"` // 品牌名称
- PublicCommission float64 `json:"public_commission"` // 公开佣金
- ExclusiveCommission float64 `json:"exclusive_commission"` // 专属佣金
- CommissionPrice float64 `json:"commission_price"` // 佣金金额
- MerchantSoldCountThirtyDays int64 `json:"merchant_sold_count_thirty_days"` // 商品30天销量
- KuaishouProductId int64 `json:"kuaishou_product_id"` // 快手商品ID
- }
|