diff --git a/upstream/hdh/hdh_goods.go b/upstream/hdh/hdh_goods.go index 033c00e66ee77253043fc76b3bc4f0d8445f42b0..c4fe70b89b51107ef7522627aa54e6bd3b5c3ba5 100644 --- a/upstream/hdh/hdh_goods.go +++ b/upstream/hdh/hdh_goods.go @@ -27,6 +27,7 @@ type GoodsNotifyRes struct { SkuNameValues []SkuNameValues `json:"skuNameValues"` //è§„æ ¼ä¿¡æ¯ ThirdCateID int `json:"thirdCateId"` // ThirdCateName string `json:"thirdCateName"` // + RichDesc string `json:"richDesc"` //图文详情 html片段 } type ItemLimitCondition struct { CycleLimitQuantity int `json:"cycleLimitQuantity"` //周期é™è´æ•°é‡ @@ -36,9 +37,9 @@ type SkuChannels struct { ChannelName string `json:"channelName"` //æ¸ é“åç§° ChannelType string `json:"channelType"` //æ¸ é“类型 ItemCode string `json:"itemCode"` //商å“ç¼–ç 如果系统需è¦åœ¨ä¼šè®¢è´§ç³»ç»Ÿå¯¼å…¥ - OriginalPrice int `json:"originalPrice"` //原价 + OriginalPrice float64 `json:"originalPrice"` //原价 Price float64 `json:"price"` //现价 - SalesStatus float64 `json:"salesStatus"` //商å“销售状æ€(0为ä¸å¯å”® 1å¯å”®) + SalesStatus int `json:"salesStatus"` //商å“销售状æ€(0为ä¸å¯å”® 1å¯å”®) Stock int `json:"stock"` //当剿¸ é“商å“çš„åº“å˜æ•° } type SkuValues struct { diff --git a/upstream/hdh/hdh_order.go b/upstream/hdh/hdh_order.go index 95607bf66a6da2d4dcd2bfddd75b225923d9c541..890c3966f81f7373c348cf7c3e4e3d3192b1267b 100644 --- a/upstream/hdh/hdh_order.go +++ b/upstream/hdh/hdh_order.go @@ -31,7 +31,11 @@ type OrderSkuList struct { } type OerCreateRes struct { - Code string `json:"code"` + Code string `json:"code"` + Data struct { + OrderNum string `json:"orderNum"` + UserOrderNum string `json:"userOrderNum"` + } `json:"data"` Message string `json:"message"` Success int `json:"success"` }