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

finance
黄伟 2 years ago
commit 85fe062778

@ -240,3 +240,19 @@ func (s *sku) EditAdjust(ctx context.Context, args ArgsSkuAdjustType) error {
} }
return xClient.Call(ctx, "EditAdjust", args, &reply) return xClient.Call(ctx, "EditAdjust", args, &reply)
} }
type ArgsSkuReplaceImg struct {
SkuId uint // 商品id
ImgId uint // 图片id
ImgPath string // 图片路径
}
// ReplaceImg @Title 替换图片
func (s *sku) ReplaceImg(ctx context.Context, args ArgsSkuReplaceImg) error {
reply := 0
xClient, err := client.GetClient(s)
if err != nil {
return err
}
return xClient.Call(ctx, "ReplaceImg", args, &reply)
}

Loading…
Cancel
Save