finance
黄伟 2 years ago
parent 0ad499b457
commit 2b6ac8e200

@ -171,3 +171,18 @@ func (g *goods) ReHandle(ctx context.Context, goodsIds []uint) (reply []AdoptIte
err = xClient.Call(ctx, "ReHandle", goodsIds, &reply) err = xClient.Call(ctx, "ReHandle", goodsIds, &reply)
return return
} }
type ReplyByIdItem struct {
GoodsId uint `json:"goodsId"`
SourceName string `json:"sourceName"`
}
// FindByIds @Title 根据商品Ids获取商品信息
func (g *goods) FindByIds(ctx context.Context, goodsIds []uint) (reply []AdoptItem, err error) {
xClient, err := client.GetClient(g)
if err != nil {
return nil, err
}
err = xClient.Call(ctx, "FindByIds", goodsIds, &reply)
return
}

Loading…
Cancel
Save