finance
黄伟 2 years ago
parent d057f6e5da
commit a3adcf7787

@ -145,11 +145,12 @@ func (g *goods) Adopt(ctx context.Context, goodsIds []uint) (reply []AdoptItem,
} }
// Discard @Title 批量废弃 // Discard @Title 批量废弃
func (g *goods) Discard(ctx context.Context, goodsIds []uint) (reply []AdoptItem, err error) { func (g *goods) Discard(ctx context.Context, goodsIds []uint) (err error) {
xClient, err := client.GetClient(g) xClient, err := client.GetClient(g)
if err != nil { if err != nil {
return return
} }
reply := 0
err = xClient.Call(ctx, "Discard", goodsIds, &reply) err = xClient.Call(ctx, "Discard", goodsIds, &reply)
return return
} }

Loading…
Cancel
Save