Kirin 2 kuukautta sitten
vanhempi
commit
e870f868be
1 muutettua tiedostoa jossa 1 lisäystä ja 3 poistoa
  1. 1 3
      app/jobs/integral/IntegralJob.php

+ 1 - 3
app/jobs/integral/IntegralJob.php

@@ -43,9 +43,7 @@ class IntegralJob extends BaseJobs
 //                //添加静态积分
 //                $static_integral_ratio = sys_config('static_integral_ratio', 0);
                 $rate = sys_config('static_integral_rate', 3);
-                $award_order_limit = 0.01;
-                $award_order_limit_type = sys_config('award_order_limit_type');
-                if ($award_order_limit_type == 0) $award_order_limit = sys_config('award_order_limit');
+                $award_order_limit = sys_config('award_order_limit');
                 $give_static_integral = bcmul($total_price, $rate);
                 if ($give_static_integral > 0) {
 //                $extract_sum = bcmul($total_price, $rate, 2);