作者 lyh

jiaoben

@@ -49,7 +49,10 @@ class Demo extends Command @@ -49,7 +49,10 @@ class Demo extends Command
49 */ 49 */
50 public function handle() 50 public function handle()
51 { 51 {
  52 + ProjectServer::useProject(110);
52 return $this->getRecommendAndHotProducts(1970); 53 return $this->getRecommendAndHotProducts(1970);
  54 + DB::disconnect('custom_mysql');
  55 +
53 } 56 }
54 57
55 public function getRecommendAndHotProducts($keyword_id): ?array 58 public function getRecommendAndHotProducts($keyword_id): ?array