作者 竞泽

fix:low version

... ... @@ -2,8 +2,9 @@
namespace Lackoxygen\TiktokShop\Command;
use Illuminate\Console\Command;
use Lackoxygen\TiktokShop\Supervisor\Session\SessionHeart;
use Illuminate\Console\Command;
class RefreshToken extends Command
{
... ... @@ -12,14 +13,14 @@ class RefreshToken extends Command
*
* @var string
*/
protected string $signature = 'tiktok-shop:refresh.token';
protected $signature = 'tiktok-shop:refresh.token';
/**
* The console command description.
*
* @var string
*/
protected string $description = 'The refresh tiktok shop token';
protected $description = 'The refresh tiktok shop token';
/**
* Create a new command instance.
... ... @@ -36,7 +37,7 @@ class RefreshToken extends Command
*
* @return int
*/
public function handle(): int
public function handle()
{
SessionHeart::new()->keepalive();
... ...