瀏覽代碼

转盘抽奖接口

cyzhao 8 月之前
父節點
當前提交
9860ead144
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;