123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- <?php
- namespace App\JsonRpc;
- use Hyperf\RpcClient\AbstractServiceClient;
- class AuthorityService extends AbstractServiceClient implements AuthorityServiceInterface
- {
-
- protected string $serviceName = 'AuthorityService';
-
- protected string $protocol = 'jsonrpc-http';
-
- public function getMenuList(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
-
- public function getMenuInfo(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
-
- public function updateMenu(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
-
- public function delMenu(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
-
- public function addMenu(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
-
- public function getRecursionMenu(array $data )
- {
- return $this->__request(__FUNCTION__, $data);
- }
- }
|