|
|
@@ -226,13 +226,13 @@ class BonusCalc extends BaseObject {
|
|
|
echo('计算团队奖'.($this->_sysConfig['openQY']['VALUE']?'完成':'关闭').',耗时:' . round($t9 - $t8, 3) . ',内存使用:' . (round(memory_get_usage() / 1024 / 1024, 3)) . 'MB' . PHP_EOL);
|
|
|
$this->_updatePercent(65);
|
|
|
|
|
|
- // if($this->_sysConfig['openGX']['VALUE']) {
|
|
|
- // $this->calcBonusGXBefore();
|
|
|
- // $this->calcBonusGX();
|
|
|
- // }
|
|
|
- // $t11 = microtime(true);
|
|
|
- // echo('计算共享奖'.($this->_sysConfig['openGX']['VALUE']?'完成':'关闭').',耗时:' . round($t11 - $t9, 3) . ',内存使用:' . (round(memory_get_usage() / 1024 / 1024, 3)) . 'MB' . PHP_EOL);
|
|
|
- // $this->_updatePercent(45);
|
|
|
+ if($this->_sysConfig['openGX']['VALUE']) {
|
|
|
+ $this->calcBonusGXBefore();
|
|
|
+ $this->calcBonusGX();
|
|
|
+ }
|
|
|
+ $t11 = microtime(true);
|
|
|
+ echo('计算共享奖'.($this->_sysConfig['openGX']['VALUE']?'完成':'关闭').',耗时:' . round($t11 - $t9, 3) . ',内存使用:' . (round(memory_get_usage() / 1024 / 1024, 3)) . 'MB' . PHP_EOL);
|
|
|
+ $this->_updatePercent(68);
|
|
|
|
|
|
// if($this->_sysConfig['openGL']['VALUE']) {
|
|
|
// $this->calcBonusBdGL();
|
|
|
@@ -249,8 +249,8 @@ class BonusCalc extends BaseObject {
|
|
|
// $this->_updatePercent(70);
|
|
|
|
|
|
// if($this->_sysConfig['openYC']['VALUE']) {
|
|
|
- // $this->calcBonusYCStepOne();
|
|
|
- // $this->calcBonusYCStepTwo();
|
|
|
+ // $this->calcBonusYCStepOne();
|
|
|
+ // $this->calcBonusYCStepTwo();
|
|
|
// }
|
|
|
// $t16 = microtime(true);
|
|
|
// echo('计算荣衔奖'.($this->_sysConfig['openYC']['VALUE']?'完成':'关闭').',耗时:' . round($t16 - $t13, 3) . ',内存使用:' . (round(memory_get_usage() / 1024 / 1024, 3)) . 'MB' . PHP_EOL);
|