修复和平小店商品图片和库存展示
This commit is contained in:
@@ -97,12 +97,15 @@ type Product struct {
|
||||
CommodityID string `json:"commodityId"`
|
||||
CommodityName string `json:"commodityName"`
|
||||
// ActionID 是和平小店商品所属的动作 ID;不同商品可能不属于同一个动作。
|
||||
ActionID string `json:"actionId,omitempty"`
|
||||
Category string `json:"category"`
|
||||
Score int `json:"score"`
|
||||
PayType int `json:"payType,omitempty"`
|
||||
PayLabel string `json:"payLabel,omitempty"`
|
||||
Count int `json:"count"`
|
||||
ActionID string `json:"actionId,omitempty"`
|
||||
Category string `json:"category"`
|
||||
Score int `json:"score"`
|
||||
PayType int `json:"payType,omitempty"`
|
||||
PayLabel string `json:"payLabel,omitempty"`
|
||||
Count int `json:"count"`
|
||||
// StockLabel 保留和平小店的非数字库存显示,例如“库存 999+”或“库存未公开”。
|
||||
// Count 仅用于可精确表示的库存数值和兼容既有调用方。
|
||||
StockLabel string `json:"stockLabel,omitempty"`
|
||||
Pic string `json:"pic"`
|
||||
Status int `json:"status"`
|
||||
OpenStatus int `json:"openStatus"`
|
||||
|
||||
Reference in New Issue
Block a user