FooterService.php 622 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. namespace App\JsonRpc;
  3. use Hyperf\RpcClient\AbstractServiceClient;
  4. class FooterService extends AbstractServiceClient implements FooterServiceInterface
  5. {
  6. /**
  7. * 定义对应服务提供者的服务名称
  8. * @var string
  9. */
  10. protected string $serviceName = 'FooterService';
  11. /**
  12. * 定义对应服务提供者的服务协议
  13. * @var string
  14. */
  15. protected string $protocol = 'jsonrpc-http';
  16. /* @param array $data
  17. * @return array|mixed
  18. */
  19. public function getFooterCategory(array $data)
  20. {
  21. return $this->__request(__FUNCTION__, $data);
  22. }
  23. }