RefreshThirdGameMerchantBalance.php 465 B

12345678910111213141516171819
  1. <?php
  2. namespace App\Console\Commands;
  3. use App\Services\ThirdGameBalanceService;
  4. use Illuminate\Console\Command;
  5. class RefreshThirdGameMerchantBalance extends Command
  6. {
  7. protected $signature = 'third-game:refresh-merchant-balance';
  8. protected $description = '刷新第三方游戏商户余额快照';
  9. public function handle(ThirdGameBalanceService $service): int
  10. {
  11. $service->refreshMerchantBalance();
  12. return self::SUCCESS;
  13. }
  14. }