This commit is contained in:
hujiabin 2024-08-28 18:51:41 +08:00
parent 7fa1a66b57
commit 618ab1ce61
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,10 @@
<?php
namespace models;
class ActivationCode
{
}

View File

@ -597,7 +597,16 @@ class HashRateService extends BaseService
return $useCount;
}
private static $ignoreCa = array(
'BlockChain@mintGoldBullion'=>1,
'InGameMall@sellS'=>2,
);
public static function onSpendGold($goldNum){
$ca = getReqVal('c', '') . '@' . getReqVal('a','');
if (array_key_exists($ca, self::$ignoreCa)) {
return;
}
self::_updateTaskSchedule(AchievementsPower::SPEND_GOLD,$goldNum);
}