Kirin hai 11 meses
pai
achega
032b28c6bc
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      app/jobs/integral/IntegralJob.php

+ 2 - 2
app/jobs/integral/IntegralJob.php

@@ -163,7 +163,7 @@ class IntegralJob extends BaseJobs
 
                 $to_now_money = 0;
                 $starts_return_time = sys_config('starts_return_time', 0);
-                if ($starts_return_time > 0) {
+                if ($starts_return_time > 0 && $info['type'] == 0) {
                     $count = $awardIntegralService->search(['uid' => $user['uid'], 'type' => 0, 'status' => 1])->count();
                     if ($count < $starts_return_time) {
                         $to_now_money = $info['order_price'];
@@ -266,7 +266,7 @@ class IntegralJob extends BaseJobs
 
                 $to_now_money = 0;
                 $starts_return_time = sys_config('starts_return_time', 0);
-                if ($starts_return_time > 0&&$info['type']==0) {
+                if ($starts_return_time > 0 && $info['type'] == 0) {
                     $count = $awardIntegralService->search(['uid' => $user['uid'], 'type' => 0, 'status' => 1])->count();
                     if ($count < $starts_return_time) {
                         $to_now_money = $info['order_price'];