This commit is contained in:
邹宗楠
2024-11-19 17:08:14 +08:00
parent 07a8865fcc
commit 7d739270de
2 changed files with 5 additions and 2 deletions

View File

@@ -205,7 +205,11 @@ func GetMtwmCommentList4ShanGou(key string, appOrgCode string, startTime, endTim
}
}
return fmt.Errorf("%s", strings.Join(errs, ","))
if len(errs) != model.NO {
return fmt.Errorf("%s", strings.Join(errs, ","))
}
return nil
}
func CommentListData(db *dao.DaoDB, skuList []*mtwmapi.CommentsList, startTime, endTime string) []*model.OrderComment {