feat,wip: 기존 거래장 코드 정리

This commit is contained in:
2022-06-09 01:21:21 +09:00
parent 79e63fb829
commit d18ae3dd11
19 changed files with 31 additions and 650 deletions
+2 -2
View File
@@ -52,7 +52,7 @@ switch ($btn) {
], true);
$db->update('ng_auction', [
'close_date' => $db->sqleval('DATE_SUB(close_date, INTERVAL %i MINUTE)', $minute)
], true);
], 'finished = 0');
if ($locked) {
unlock();
}
@@ -80,7 +80,7 @@ switch ($btn) {
], true);
$db->update('ng_auction', [
'close_date' => $db->sqleval('DATE_ADD(close_date, INTERVAL %i MINUTE)', $minute)
], true);
], 'finished = 0');
if ($locked) {
unlock();
}