BookTest.php 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?php
  2. namespace App\Console\Commands;
  3. use App\Jobs\QappTikTokUser;
  4. use App\Jobs\QappTikTokUserCharge;
  5. use App\Modules\Channel\Services\QappSendOrderContentShieldConfigService;
  6. use Illuminate\Console\Command;
  7. use App\Modules\User\Models\QappUser;
  8. use App\Modules\User\Models\User;
  9. class BookTest extends Command
  10. {
  11. /**
  12. * The name and signature of the console command.
  13. *
  14. * @var string
  15. */
  16. protected $signature = 'book:test';
  17. /**
  18. * The console command description.
  19. *
  20. * @var string
  21. */
  22. protected $client;
  23. protected $description = 'Command description';
  24. /**
  25. * Create a new command instance.
  26. *
  27. * @return void
  28. */
  29. public function __construct()
  30. {
  31. parent::__construct();
  32. }
  33. /**
  34. * Execute the console command.
  35. *
  36. * @return mixed
  37. */
  38. public function handle()
  39. {
  40. $sen_order_id = 0;
  41. $ip = '112.17.235.74';
  42. $result = QappSendOrderContentShieldConfigService::doShied($sen_order_id,$ip);
  43. print_r($result);
  44. }
  45. }