1
This commit is contained in:
@@ -18,7 +18,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
RefreshCommentTime = 15 * 24 * time.Hour // 此值必须大于24小时
|
||||
RefreshCommentTime = 7 * 24 * time.Hour // 此值必须大于24小时
|
||||
RefreshCommentTimeInterval = 60 * time.Minute
|
||||
BAD_COMMENTS_MAX_MODIFY_TIME = 24 * 6 // 小时
|
||||
)
|
||||
@@ -54,7 +54,7 @@ func (c *PurchaseHandler) RefreshComment(fromTime, toTime time.Time) (err error)
|
||||
storeID := batchItemList[0].(int)
|
||||
|
||||
storeDetail, _ := dao.GetStoreDetail(dao.GetDB(), storeID, model.VendorIDMTWM, "")
|
||||
commentList, _ := getAPI(storeDetail.VendorOrgCode, storeID, storeDetail.VendorStoreID).CommentQuery(storeDetail.VendorStoreID, startDateStr, endDateStr, 0, 0, mtwmapi.CommentReplyStatusAll)
|
||||
commentList, _ := getAPI(storeDetail.VendorOrgCode, storeID, storeDetail.VendorStoreID).CommentQuery(storeDetail.VendorStoreID, startDateStr, endDateStr, 0, 0, mtwmapi.CommentReplyStatusNotReplied)
|
||||
var orderCommentList []*model.OrderComment
|
||||
if len(commentList) == model.NO || commentList == nil {
|
||||
return nil, nil
|
||||
|
||||
Reference in New Issue
Block a user