正在显示
1 个修改的文件
包含
8 行增加
和
0 行删除
| @@ -42,6 +42,14 @@ class GoogleSearchKeyword extends Command | @@ -42,6 +42,14 @@ class GoogleSearchKeyword extends Command | ||
| 42 | */ | 42 | */ |
| 43 | protected $description = 'google搜索词'; | 43 | protected $description = 'google搜索词'; |
| 44 | 44 | ||
| 45 | + public $googleService; | ||
| 46 | + | ||
| 47 | + public function __construct() | ||
| 48 | + { | ||
| 49 | + $googleService = new GoogleSearchService(); | ||
| 50 | + parent::__construct(); | ||
| 51 | + } | ||
| 52 | + | ||
| 45 | /** | 53 | /** |
| 46 | * @remark :拉取google搜索数据 | 54 | * @remark :拉取google搜索数据 |
| 47 | * @name :handle | 55 | * @name :handle |
-
请 注册 或 登录 后发表评论