finance
黄伟 2 years ago
parent 65d6128e37
commit 06ee2776e5

@ -51,6 +51,16 @@ func (b *banner) Del(ctx context.Context, id uint) (err error) {
return xClient.Call(ctx, "Del", id, &reply)
}
// DelBySkuId @Title 根据skuId删除
func (b *banner) DelBySkuId(ctx context.Context, skuId uint) (err error) {
xClient, err := client.GetClient(b)
if err != nil {
return
}
reply := 0
return xClient.Call(ctx, "DelBySkuId", skuId, &reply)
}
type ArgsSkuBannerAdd struct {
SkuId uint
Img string

Loading…
Cancel
Save