finance
黄伟 2 years ago
parent b9dd13ab52
commit 0a305e6fcf

@ -50,3 +50,18 @@ func (b *banner) Del(ctx context.Context, id uint) (err error) {
reply := 0 reply := 0
return xClient.Call(ctx, "Del", id, &reply) return xClient.Call(ctx, "Del", id, &reply)
} }
type ArgsSkuBannerAdd struct {
SkuId uint
Img string
}
// Add @Title 添加轮播图
func (b *banner) Add(ctx context.Context, args ArgsSkuBannerEdit) error {
xClient, err := client.GetClient(b)
if err != nil {
return err
}
reply := 0
return xClient.Call(ctx, "Add", args, &reply)
}

Loading…
Cancel
Save