Merge pull request #239 from zzpuser/patch-9

修正了延迟递减时实际为递增的错误。
This commit is contained in:
ThinkPHP
2016-08-05 04:50:16 -05:00
committed by GitHub

View File

@@ -595,6 +595,7 @@ class Query
if (false === $step) {
return true; // 等待下次写入
}
$step = -$step;
}
return $this->setField($field, ['exp', $field . '-' . $step]);
}