Kirin 1 rok pred
rodič
commit
bcd613fcba
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      app/jobs/integral/IntegralJob.php

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

@@ -206,6 +206,7 @@ class IntegralJob extends BaseJobs
                 $res = $res && $awardIntegralService->update($info['id'], ['handle' => 0, 'extract_sum_real' => $sum, 'status' => 1, 'extract_time' => time()]);
             }
         }
+        if (count($infos) > 0) return $res && $this->autoExtract($awardIntegralService->getPrice());
         return $res;
     }