fix: 경매가 시작후 3개월이 아니라 4개월로 설정됨

This commit is contained in:
2022-06-09 01:49:22 +09:00
parent 42579810a2
commit 0863fafec0
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ class OpenBuyRiceAuction extends \sammo\BaseAPI
$initYearMonth = Util::joinYearMonth($initYear, $initMonth);
$yearMonth = Util::joinYearMonth($year, $month);
if($yearMonth <= $initYearMonth + 3){
if($yearMonth < $initYearMonth + 3){
return '시작 후 3개월이 지나야 경매를 열 수 있습니다.';
}
@@ -73,7 +73,7 @@ class OpenSellRiceAuction extends \sammo\BaseAPI
$initYearMonth = Util::joinYearMonth($initYear, $initMonth);
$yearMonth = Util::joinYearMonth($year, $month);
if($yearMonth <= $initYearMonth + 3){
if($yearMonth < $initYearMonth + 3){
return '시작 후 3개월이 지나야 경매를 열 수 있습니다.';
}
+1 -1
View File
@@ -64,7 +64,7 @@ class OpenUniqueAuction extends \sammo\BaseAPI
$initYearMonth = Util::joinYearMonth($initYear, $initMonth);
$yearMonth = Util::joinYearMonth($year, $month);
if($yearMonth <= $initYearMonth + 3){
if($yearMonth < $initYearMonth + 3){
return '시작 후 3개월이 지나야 경매를 열 수 있습니다.';
}