This commit is contained in:
hujiabin 2024-10-11 17:04:49 +08:00
parent b94c0944fa
commit baf41d30f9

View File

@ -196,7 +196,7 @@ class RoomBattleDataService extends BaseService {
$gold = $this->_hashRateBoost($userDb,$gold,$hashRateValue);
//Vip加成金币获得
$rightVal = myself()->_getVipRightsVal(mt\StakingVip::GAIN_GOLD);
if ($rightVal > 0){
if ($gold > 0 && $rightVal > 0){
$gold += $rightVal;
}
}else{