12345678910111213141516171819202122232425262728293031 |
- <?php
- namespace App\JsonRpc;
- use Hyperf\RpcClient\AbstractServiceClient;
- class FooterService extends AbstractServiceClient implements FooterServiceInterface
- {
- /**
- * 定义对应服务提供者的服务名称
- * @var string
- */
- protected string $serviceName = 'FooterService';
- /**
- * 定义对应服务提供者的服务协议
- * @var string
- */
- protected string $protocol = 'jsonrpc-http';
-
- /* @param array $data
- * @return array|mixed
- */
- public function getFooterCategory(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
-
-
- }
|