- 饿百的评价不是一点一点出来的,而是一下把前一天的全部崩出来。。。,相应修改定时器
This commit is contained in:
@@ -27,7 +27,7 @@ const (
|
|||||||
COMMENTS_SCORE_FOUR_ORFIVE_BEGIN_DELAY_TIME = 2 * 60 //评论回复四星或五星回复延迟开始时间区间
|
COMMENTS_SCORE_FOUR_ORFIVE_BEGIN_DELAY_TIME = 2 * 60 //评论回复四星或五星回复延迟开始时间区间
|
||||||
COMMENTS_SCORE_FOUR_ORFIVE_END_DELAY_TIME = 5 * 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 {
|
type tReplyConfig struct {
|
||||||
|
|||||||
@@ -13,9 +13,11 @@ import (
|
|||||||
"git.rosy.net.cn/jx-callback/globals/api"
|
"git.rosy.net.cn/jx-callback/globals/api"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// 饿百的评价不是一点一点出来的,而是一下把前一天的全部崩出来。。。
|
||||||
|
|
||||||
const (
|
const (
|
||||||
RefreshCommentTime = 4 * time.Hour
|
RefreshCommentTime = 36 * time.Hour
|
||||||
RefreshCommentTimeInterval = 10 * time.Minute
|
RefreshCommentTimeInterval = 60 * time.Minute
|
||||||
)
|
)
|
||||||
|
|
||||||
func (c *PurchaseHandler) StartRefreshComment() {
|
func (c *PurchaseHandler) StartRefreshComment() {
|
||||||
|
|||||||
Reference in New Issue
Block a user