fix: 유니크 경매시 10포인트 더 높아야 함

This commit is contained in:
2022-06-09 01:53:19 +09:00
parent 0863fafec0
commit 76a8740644
+2 -2
View File
@@ -281,8 +281,8 @@ abstract class Auction
$general = $this->general;
$highestBid = $this->getHighestBid();
if ($highestBid !== null && $amount <= $highestBid->amount) {
return '현재입찰가보다 높게 입찰해야 합니다.';
if ($highestBid !== null && $amount < $highestBid->amount + 10) {
return '현재입찰가보다 10 포인트 높게 입찰해야 합니다.';
}
$myPrevBid = $this->getMyPrevBid();