From fff8f9493b5814e00eb4a329f6090a03e43d2cb0 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Sat, 20 Aug 2022 14:15:49 +0900 Subject: [PATCH] =?UTF-8?q?game:=20=EC=9C=A0=EB=8B=88=ED=81=AC=20=EC=95=84?= =?UTF-8?q?=EC=9D=B4=ED=85=9C=20=EA=B2=BD=EB=A7=A4=20=EC=8B=9C=20=ED=98=84?= =?UTF-8?q?=EC=9E=AC=EA=B0=80=EB=B3=B4=EB=8B=A4=201%=20=EB=8D=94=20?= =?UTF-8?q?=EB=86=92=EC=95=84=EC=95=BC=20=ED=95=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hwe/sammo/Auction.php | 3 +++ hwe/ts/components/AuctionUniqueItem.vue | 7 +++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/hwe/sammo/Auction.php b/hwe/sammo/Auction.php index 07bbf5e1..3d60501e 100644 --- a/hwe/sammo/Auction.php +++ b/hwe/sammo/Auction.php @@ -281,6 +281,9 @@ abstract class Auction $general = $this->general; $highestBid = $this->getHighestBid(); + if ($highestBid !== null && $amount < $highestBid->amount * 1.01) { + return '현재입찰가보다 1% 높게 입찰해야 합니다.'; + } if ($highestBid !== null && $amount < $highestBid->amount + 10) { return '현재입찰가보다 10 포인트 높게 입찰해야 합니다.'; } diff --git a/hwe/ts/components/AuctionUniqueItem.vue b/hwe/ts/components/AuctionUniqueItem.vue index bea79c7f..68febee3 100644 --- a/hwe/ts/components/AuctionUniqueItem.vue +++ b/hwe/ts/components/AuctionUniqueItem.vue @@ -51,7 +51,7 @@