This commit is contained in:
邹宗楠
2024-08-05 10:19:41 +08:00
parent 9cf69ecf0f
commit 81d6e81479

View File

@@ -180,6 +180,7 @@ func GetMtwmCommentList4ShanGou(key string, appOrgCode string, startTime, endTim
}
func CommentListData(db *dao.DaoDB, skuList []*mtwmapi.CommentsList, startTime, endTime string) []*model.OrderComment {
globals.SugarLogger.Debugf("=========skuList:= %s", utils.Format4Output(skuList, false))
st, _ := utils.TryStr2Time(startTime)
et, _ := utils.TryStr2Time(endTime)
orderCommentList := make([]*model.OrderComment, 0, len(skuList))
@@ -233,6 +234,7 @@ func CommentListData(db *dao.DaoDB, skuList []*mtwmapi.CommentsList, startTime,
}
}
globals.SugarLogger.Debugf("=====ordercomment := %s", utils.Format4Output(orderComment, false))
store, err := dao.GetStoreDetail2(db, 0, orderComment.VendorStoreID, model.VendorIDMTWM)
if err != nil {
globals.SugarLogger.Debugf("获取美团外卖差评列表,失败:%v", err)