|
@@ -538,7 +538,7 @@ func (s *StoreEntry) CategoryDistribution(ctx context.Context, url string, req *
|
|
|
go func(data *model.GroupPasture) {
|
|
|
defer wg.Done()
|
|
|
res := &model.PastureCommonResponse{}
|
|
|
- req.PastureId = int32(data.Id)
|
|
|
+ req.PastureId = int32(data.PastureId)
|
|
|
if err = s.PastureHttpClient(ctx, url, data.Id, req, res); err != nil {
|
|
|
zaplog.Error("CategoryDistribution",
|
|
|
zap.Any("url", url),
|