feat: 베팅 시스템 재 설계, 이벤트 테이블 수정 #205

Merged
Hide_D merged 45 commits from ng_bet into devel 2022-02-05 16:43:28 +09:00
Showing only changes of commit 3dcf5ce75f - Show all commits
+1 -5
View File
@@ -134,11 +134,7 @@ class Bet extends \sammo\BaseAPI
'amount'=>$amount
]);
$db->insertUpdate(
'ng_betting',
$bettingItem->toArray(),
['amount' => $db->sqleval('amount + %i', $amount)]
);
$db->insertUpdate('ng_betting', $bettingItem->toArray());
if($bettingInfo->reqInheritancePoint){
$inheritStor->setValue('previous', [$remainPoint - $amount, null]);
}