Kaynağa Gözat

打开服务奖

theo 3 yıl önce
ebeveyn
işleme
950bc5ac08
1 değiştirilmiş dosya ile 5 ekleme ve 5 silme
  1. 5 5
      common/helpers/bonus/BonusCalc.php

+ 5 - 5
common/helpers/bonus/BonusCalc.php

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