RechargeStatus50To202Command.php 767 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?php
  2. namespace App\Module\Transaction\Commands;
  3. use App\Module\System\Services\ConfigService;
  4. use App\Module\Test\Services\TestService;
  5. use Illuminate\Console\Command;
  6. /**
  7. * RechargeStatus50To202Command
  8. * 状态 50 -202
  9. *
  10. * @example php a
  11. *
  12. */
  13. class RechargeStatus50To202Command extends Command
  14. {
  15. /**
  16. *
  17. * @var string
  18. */
  19. protected $signature = 'transaction:status50to202';
  20. /**
  21. * 命令描述
  22. *
  23. * @var string
  24. */
  25. protected $description = '充值单,未补充tx的过一段时间自动结束';
  26. /**
  27. * 执行命令
  28. */
  29. public function handle()
  30. {
  31. $s = ConfigService::getValueDefault('recharge_status50_to202','3600');
  32. dump($s);
  33. return self::SUCCESS;
  34. }
  35. }