|
@@ -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);
|