This commit is contained in:
邹宗楠
2023-07-18 10:28:48 +08:00
parent 1d99bf00b4
commit 4815f3909d

View File

@@ -57,6 +57,7 @@ func (c *PurchaseHandler) RefreshComment(fromTime, toTime time.Time) (err error)
storeDetail, _ := dao.GetStoreDetail(dao.GetDB(), storeID, model.VendorIDMTWM, "")
commentList, err2 := getAPI(storeDetail.VendorOrgCode, storeID, storeDetail.VendorStoreID).CommentQuery(storeDetail.VendorStoreID, startDateStr, endDateStr, 0, 0, mtwmapi.CommentReplyStatusNotReplied)
globals.SugarLogger.Debugf("========commentList= :%s", utils.Format4Output(commentList, false))
globals.SugarLogger.Debugf("========commentList= :%s", utils.Format4Output(err2, false))
var orderCommentList []*model.OrderComment
if err2 != nil || len(commentList) == model.NO {
return nil, err2