Client.php 503 B

123456789101112131415161718192021
  1. <?php
  2. namespace App\Libs\TikTok\OpenPlatform\Event;
  3. use App\Libs\TikTok\Kernel\BaseClient;
  4. class Client extends BaseClient
  5. {
  6. protected $headerAccessToken = true;
  7. /**
  8. * @return array
  9. * @throws \App\Libs\TikTok\Kernel\Exceptions\HttpException
  10. * @throws \App\Libs\TikTok\Kernel\Exceptions\InvalidConfigException
  11. * @throws \GuzzleHttp\Exception\GuzzleException
  12. */
  13. public function eventList(): array
  14. {
  15. return $this->httpGet('/event/status/list/');
  16. }
  17. }