Forráskód Böngészése

转盘抽奖接口

cyzhao 8 hónapja
szülő
commit
9860ead144
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      Gameserver/App/process/ActiveProc.php

+ 1 - 1
Gameserver/App/process/ActiveProc.php

@@ -143,7 +143,7 @@ class ActiveProc {
         if(StlUtil::dictHasProperty($item, $costId)){
             $selfNum = $item->$costId;
         }
-        my_Assert($selfNum >= $costNum,ErrCode::active_lottery_unwantedExchange);
+        my_Assert($selfNum < $costNum,ErrCode::active_lottery_unwantedExchange);
         
         $costNum -= $selfNum;
         $cash = glc()->activity_lottery_oneCost_cash * $costNum;