|
@@ -1011,6 +1011,7 @@ func (s *StoreEntry) checkoutDistributeData(ctx context.Context, req *operationP
|
|
|
if err := s.DB.Model(new(model.FeedFormula)).Where("id IN ?", req.FeedFormulaIds).Find(&newFeedFormulaList).Error; err != nil {
|
|
|
return result, xerr.WithStack(err)
|
|
|
}
|
|
|
+ result.FeedFormulaList = model.FeedFormulaSlice(newFeedFormulaList).ToDistributePB()
|
|
|
|
|
|
if len(result.FeedFormulaList) != len(req.FeedFormulaIds) {
|
|
|
return result, xerr.Customf("数据错误:%v", req.FeedFormulaIds)
|