作者 lyh

gx

@@ -57,10 +57,12 @@ class RecommendedSuppliers extends Command @@ -57,10 +57,12 @@ class RecommendedSuppliers extends Command
57 ProjectServer::useProject($v['id']); 57 ProjectServer::useProject($v['id']);
58 $info = Keyword::inRandomOrder()->first(); 58 $info = Keyword::inRandomOrder()->first();
59 if(empty($info)){ 59 if(empty($info)){
  60 + echo date('Y-m-d H:i:s') . '11111' . PHP_EOL;
60 continue; 61 continue;
61 } 62 }
62 $keywordInfo = $this->getPurchaser($info['title']); 63 $keywordInfo = $this->getPurchaser($info['title']);
63 if($keywordInfo !== false){ 64 if($keywordInfo !== false){
  65 + echo date('Y-m-d H:i:s') . '222222' . PHP_EOL;
64 continue; 66 continue;
65 } 67 }
66 echo date('Y-m-d H:i:s') . '开始:'.$v['project_id'] . PHP_EOL; 68 echo date('Y-m-d H:i:s') . '开始:'.$v['project_id'] . PHP_EOL;