Merge branch 'master' of git.oa00.com:supply-chain/service

finance
杨赟 2 years ago
commit ba7825f77a

@ -91,3 +91,13 @@ func (b *brand) FindByIds(ctx context.Context, args ArgsBrandFindByIds) (result
err = xClient.Call(ctx, "FindByIds", args, &result) err = xClient.Call(ctx, "FindByIds", args, &result)
return return
} }
// Export @Title 导出品牌
func (b *brand) Export(ctx context.Context, name string) (result []BrandItem, err error) {
xClient, err := client.GetClient(b)
if err != nil {
return
}
err = xClient.Call(ctx, "Export", name, &result)
return
}

@ -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
} }

Loading…
Cancel
Save