作者 竞泽

fix:low version

@@ -2,8 +2,9 @@ @@ -2,8 +2,9 @@
2 2
3 namespace Lackoxygen\TiktokShop\Command; 3 namespace Lackoxygen\TiktokShop\Command;
4 4
5 -use Illuminate\Console\Command;  
6 use Lackoxygen\TiktokShop\Supervisor\Session\SessionHeart; 5 use Lackoxygen\TiktokShop\Supervisor\Session\SessionHeart;
  6 +use Illuminate\Console\Command;
  7 +
7 8
8 class RefreshToken extends Command 9 class RefreshToken extends Command
9 { 10 {
@@ -12,14 +13,14 @@ class RefreshToken extends Command @@ -12,14 +13,14 @@ class RefreshToken extends Command
12 * 13 *
13 * @var string 14 * @var string
14 */ 15 */
15 - protected string $signature = 'tiktok-shop:refresh.token'; 16 + protected $signature = 'tiktok-shop:refresh.token';
16 17
17 /** 18 /**
18 * The console command description. 19 * The console command description.
19 * 20 *
20 * @var string 21 * @var string
21 */ 22 */
22 - protected string $description = 'The refresh tiktok shop token'; 23 + protected $description = 'The refresh tiktok shop token';
23 24
24 /** 25 /**
25 * Create a new command instance. 26 * Create a new command instance.
@@ -36,7 +37,7 @@ class RefreshToken extends Command @@ -36,7 +37,7 @@ class RefreshToken extends Command
36 * 37 *
37 * @return int 38 * @return int
38 */ 39 */
39 - public function handle(): int 40 + public function handle()
40 { 41 {
41 SessionHeart::new()->keepalive(); 42 SessionHeart::new()->keepalive();
42 43