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 {

View File

@@ -334,7 +334,6 @@ func (c *StoreController) TmpGetJxBadComments() {
// @Title 根据cookie获取美团差评订单id多店不一定准确
// @Description 根据cookie获取美团差评订单id多店
// @Param token header string true "认证token"
// @Param vendorID query int false "厂商ID缺省为全部"
// @Param userName query string true "平台账号id"
// @Param appOrgCode query string true "平台号"