|
|
|
@ -93,6 +93,12 @@ type SkuImg struct {
|
|
|
|
|
ReplacePath string `json:"replacePath"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// GetImgs @Title 获取预览图
|
|
|
|
|
func (s *sku) GetImgs(ctx context.Context, skuId uint) (reply []SkuImg, err error) {
|
|
|
|
|
err = client.GetClient(s).Call(ctx, "GetImgs", skuId, &reply)
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type SkuSpecification struct {
|
|
|
|
|
Name string `json:"name"`
|
|
|
|
|
Attributes []SkuAttribute `json:"attributes"`
|
|
|
|
|