소스 검색

会员升级

Kirin 2 년 전
부모
커밋
bcd613fcba
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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;
     }