root 3 лет назад
Родитель
Сommit
320479cb83
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      common/helpers/bonus/BonusCalc.php

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

@@ -2993,8 +2993,8 @@ class BonusCalc extends BaseObject {
         if( $reConsumePointsTotal < $reConsumePointsCap ) {
         if( $reConsumePointsTotal < $reConsumePointsCap ) {
             $reConsumePoints = $bonus * $this->_sysConfig['reConsumePointsPercent']['VALUE'] / 100;
             $reConsumePoints = $bonus * $this->_sysConfig['reConsumePointsPercent']['VALUE'] / 100;
 
 
-            // 2022/05/17 复消积分去掉限制,config reConsumePointsMonthCap上限改成大值如5000000
-            //$reConsumePoints = min($reConsumePoints, $reConsumePointsCap-$reConsumePointsTotal);
+            // 2022/06/07上限改成10000000
+            $reConsumePoints = min($reConsumePoints, $reConsumePointsCap-$reConsumePointsTotal);
         }
         }
         unset($reConsumePointsTotal, $reConsumePointsCap);
         unset($reConsumePointsTotal, $reConsumePointsCap);