- 梳理TIMER,去除TimerTypeBaseExpectedDeliveredTime
This commit is contained in:
@@ -858,10 +858,10 @@ func unmarshalCommentText(commentStr string) (retVal map[string]interface{}, isN
|
||||
}
|
||||
|
||||
func RefreshEbaiBadComment(ctx *jxcontext.Context, fromTime, toTime time.Time, isAsync, isContinueWhenError bool) (hint string, err error) {
|
||||
if jxutils.IsTimeEmpty(fromTime) {
|
||||
if utils.IsTimeZero(fromTime) {
|
||||
fromTime = utils.Str2Time("2018-05-03 00:00:00")
|
||||
}
|
||||
if jxutils.IsTimeEmpty(toTime) {
|
||||
if utils.IsTimeZero(toTime) {
|
||||
toTime = time.Now().Add(-3 * time.Hour)
|
||||
}
|
||||
days := int(toTime.Sub(fromTime)/(24*time.Hour) + 1)
|
||||
|
||||
Reference in New Issue
Block a user