- 饿百的评价不是一点一点出来的,而是一下把前一天的全部崩出来。。。,相应修改定时器

This commit is contained in:
gazebo
2019-03-15 09:22:59 +08:00
parent d602fe2fa1
commit 6b7f0626b3
2 changed files with 5 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ const (
COMMENTS_SCORE_FOUR_ORFIVE_BEGIN_DELAY_TIME = 2 * 60 //评论回复四星或五星回复延迟开始时间区间
COMMENTS_SCORE_FOUR_ORFIVE_END_DELAY_TIME = 5 * 60 //评论回复四星或五星回复延迟结束时间区间
MAX_REAPLY_TIME = 2 * time.Hour
MAX_REAPLY_TIME = 18 * time.Hour
)
type tReplyConfig struct {

View File

@@ -13,9 +13,11 @@ import (
"git.rosy.net.cn/jx-callback/globals/api"
)
// 饿百的评价不是一点一点出来的,而是一下把前一天的全部崩出来。。。
const (
RefreshCommentTime = 4 * time.Hour
RefreshCommentTimeInterval = 10 * time.Minute
RefreshCommentTime = 36 * time.Hour
RefreshCommentTimeInterval = 60 * time.Minute
)
func (c *PurchaseHandler) StartRefreshComment() {