|
@@ -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;
|