CleanRedis.php 402 B

1234567891011121314151617181920212223
  1. <?php
  2. namespace App\Console\Commands\Upgrade;
  3. use Illuminate\Console\Command;
  4. class CleanRedis extends Command
  5. {
  6. protected $signature = "upgrade clean {matchkey}";
  7. protected $description = '清理redis中的无用key';
  8. public function __construct()
  9. {
  10. parent::__construct();
  11. }
  12. public function handle()
  13. {
  14. $matchkey = $this->argument('matchkey');
  15. }
  16. }