1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <?php
- namespace App\JsonRpc;
- use Hyperf\RpcClient\AbstractServiceClient;
- class LinkService extends AbstractServiceClient implements LinkServiceInterface
- {
-
- protected string $serviceName = 'LinkService';
-
- protected string $protocol = 'jsonrpc-http';
-
- public function getLinkList(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
-
- public function createLink(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
-
- public function updateLink(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
-
- public function delLink(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
-
- public function getLinkInfo(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- }
|