1
This commit is contained in:
@@ -180,7 +180,6 @@ func GetMtwmCommentList4ShanGou(key string, appOrgCode string, startTime, endTim
|
|||||||
}
|
}
|
||||||
|
|
||||||
func CommentListData(db *dao.DaoDB, skuList []*mtwmapi.CommentsList, startTime, endTime string) []*model.OrderComment {
|
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)
|
st, _ := utils.TryStr2Time(startTime)
|
||||||
et, _ := utils.TryStr2Time(endTime)
|
et, _ := utils.TryStr2Time(endTime)
|
||||||
orderCommentList := make([]*model.OrderComment, 0, len(skuList))
|
orderCommentList := make([]*model.OrderComment, 0, len(skuList))
|
||||||
@@ -234,8 +233,7 @@ func CommentListData(db *dao.DaoDB, skuList []*mtwmapi.CommentsList, startTime,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
globals.SugarLogger.Debugf("=====ordercomment := %s", utils.Format4Output(orderComment, false))
|
store, err := dao.GetStoreDetailByVendorStoreID(db, orderComment.VendorStoreID, orderComment.VendorID, "")
|
||||||
store, err := dao.GetStoreDetail2(db, 0, orderComment.VendorStoreID, model.VendorIDMTWM)
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
globals.SugarLogger.Debugf("获取美团外卖差评列表,失败:%v", err)
|
globals.SugarLogger.Debugf("获取美团外卖差评列表,失败:%v", err)
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user