正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
| @@ -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 |
-
请 注册 或 登录 后发表评论