1
This commit is contained in:
parent
7fa1a66b57
commit
618ab1ce61
10
webapp/models/ActivationCode.php
Normal file
10
webapp/models/ActivationCode.php
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
|
||||||
|
namespace models;
|
||||||
|
|
||||||
|
|
||||||
|
class ActivationCode
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
@ -597,7 +597,16 @@ class HashRateService extends BaseService
|
|||||||
return $useCount;
|
return $useCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private static $ignoreCa = array(
|
||||||
|
'BlockChain@mintGoldBullion'=>1,
|
||||||
|
'InGameMall@sellS'=>2,
|
||||||
|
);
|
||||||
|
|
||||||
public static function onSpendGold($goldNum){
|
public static function onSpendGold($goldNum){
|
||||||
|
$ca = getReqVal('c', '') . '@' . getReqVal('a','');
|
||||||
|
if (array_key_exists($ca, self::$ignoreCa)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
self::_updateTaskSchedule(AchievementsPower::SPEND_GOLD,$goldNum);
|
self::_updateTaskSchedule(AchievementsPower::SPEND_GOLD,$goldNum);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user