forked from devsam/core
fix: 경매가 시작후 3개월이 아니라 4개월로 설정됨
This commit is contained in:
@@ -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개월이 지나야 경매를 열 수 있습니다.';
|
||||
}
|
||||
|
||||
|
||||
@@ -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개월이 지나야 경매를 열 수 있습니다.';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user