123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306 |
- <?php
- namespace App\JsonRpc;
- use Hyperf\RpcClient\AbstractServiceClient;
- class PublicRpcService extends AbstractServiceClient implements PublicRpcServiceInterface
- {
- /**
- * 定义对应服务提供者的服务名称
- * @var string
- */
- protected string $serviceName = 'PublicRpcService';
- /**
- * 定义对应服务提供者的服务协议
- * @var string
- */
- protected string $protocol = 'jsonrpc-http';
- /**
- * @param array $data
- * @return mixed
- */
- public function getDistrictList(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * @param array $data
- * @return mixed
- */
- public function getUserLevelList(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * 添加等级
- * @param array $data
- * @return array
- */
- public function addUserLevel(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * 删除等级
- * @param array $data
- * @return array
- */
- public function delUserLevel(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * 更新等级
- * @param array $data
- * @return array
- */
- public function updateUserLevel(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * @param array $data
- * @return array|mixed
- */
- public function getLetterOfComplaint(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * @param array $data
- * @return array|mixed
- */
- public function addLetterOfComplaint(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * @param array $data
- * @return array|mixed
- */
- public function upLetterOfComplaint(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * @param array $data
- * @return array|mixed
- */
- public function userUpLetterOfComplaint(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * @param array $data
- * @return array|mixed
- */
- public function getLetterOfComplaintInfo(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * @param array $data
- * @return array|mixed
- */
- public function delLetterOfComplaint(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * @param array $data
- * @return array|mixed
- */
- public function getLetterType(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * @param array $data
- * @return array|mixed
- */
- public function upLetterType(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * @param array $data
- * @return array|mixed
- */
- public function addLetterType(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * @param array $data
- * @return array|mixed
- */
- public function delLetterType(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * @param array $data
- * @return array|mixed
- */
- public function checkMeasure(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * @param array $data
- * @return array|mixed
- */
- public function getDepartment(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * @param array $data
- * @return array|mixed
- */
- public function getZhinengbumenList(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * @param array $data
- * @return array|mixed
- */
- public function addZhinengbumen(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * @param array $data
- * @return array|mixed
- */
- public function getZhinengbumen(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * @param array $data
- * @return array|mixed
- */
- public function getPidZhinengbumen(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * @param array $data
- * @return array|mixed
- */
- public function delZhinengbumen(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * @param array $data
- * @return array|mixed
- */
- public function modZhinengbumen(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- public function getTemplateClass(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- public function getTemplateList(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- public function getTemplateInfo(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- public function addTemplate(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- public function delTemplate(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- public function updateTemplate(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- public function getSectorList(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
-
- public function getSectorInfo(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- public function addSector(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- public function delSector(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- public function updateSector(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- public function getComponentList(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- public function getComponentInfo(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- public function addComponent(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- public function delComponent(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- public function updateComponent(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- public function getWebsiteTemplateList(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- public function getWebsiteTemplateInfo(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- public function getBuckets(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- /**
- * @param array $data
- * @return array|mixed
- */
- public function uploadFile(array $data)
- {
- return $this->__request(__FUNCTION__, $data);
- }
- }
|