|
@@ -187,11 +187,11 @@ class BonusCalc extends BaseObject {
|
|
|
$t3 = microtime(true);
|
|
$t3 = microtime(true);
|
|
|
$this->_updatePercent(10);
|
|
$this->_updatePercent(10);
|
|
|
|
|
|
|
|
-// // 奖金部分
|
|
|
|
|
-// if($this->_sysConfig['openFW']['VALUE']) {
|
|
|
|
|
-// $this->calcBonusBDStepOne();
|
|
|
|
|
-// $this->calcBonusBDStepTwo();
|
|
|
|
|
-// }
|
|
|
|
|
|
|
+ // 奖金部分
|
|
|
|
|
+ if($this->_sysConfig['openFW']['VALUE']) {
|
|
|
|
|
+ $this->calcBonusBDStepOne();
|
|
|
|
|
+ $this->calcBonusBDStepTwo();
|
|
|
|
|
+ }
|
|
|
$t4 = microtime(true);
|
|
$t4 = microtime(true);
|
|
|
echo('计算服务奖'.($this->_sysConfig['openFW']['VALUE']?'完成':'关闭').',耗时:' . round($t4 - $t3, 3) . ',内存使用:' . (round(memory_get_usage() / 1024 / 1024, 3)) . 'MB' . PHP_EOL);
|
|
echo('计算服务奖'.($this->_sysConfig['openFW']['VALUE']?'完成':'关闭').',耗时:' . round($t4 - $t3, 3) . ',内存使用:' . (round(memory_get_usage() / 1024 / 1024, 3)) . 'MB' . PHP_EOL);
|
|
|
$this->_updatePercent(15);
|
|
$this->_updatePercent(15);
|