mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
修正了延迟递减时实际为递增的错误。
由于在缓存中存放的递减值为负值,所以这里在拿出这个缓存值(缓存值本身为负值)后运算符应该为+,否则的话运算结果是错误的。
This commit is contained in:
@@ -596,7 +596,7 @@ class Query
|
||||
return true; // 等待下次写入
|
||||
}
|
||||
}
|
||||
return $this->setField($field, ['exp', $field . '-' . $step]);
|
||||
return $this->setField($field, ['exp', $field . '+' . $step]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user