|
|
@ -60,8 +60,9 @@ type ArgsSkuAdd struct {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type SkuImg struct {
|
|
|
|
type SkuImg struct {
|
|
|
|
Id uint `json:"id"`
|
|
|
|
Id uint `json:"id"`
|
|
|
|
Path string `json:"path"`
|
|
|
|
Path string `json:"path"`
|
|
|
|
|
|
|
|
ReplacePath string `json:"replacePath"`
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type SkuSpecification struct {
|
|
|
|
type SkuSpecification struct {
|
|
|
@ -238,6 +239,7 @@ func (s *sku) GetImgs(ctx context.Context, skuId uint) (reply []SkuImg, err erro
|
|
|
|
|
|
|
|
|
|
|
|
type ArgsReplaceImg struct {
|
|
|
|
type ArgsReplaceImg struct {
|
|
|
|
Id uint
|
|
|
|
Id uint
|
|
|
|
|
|
|
|
SkuId uint
|
|
|
|
ReplacePath string
|
|
|
|
ReplacePath string
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|