PublicRpcService.php 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306
  1. <?php
  2. namespace App\JsonRpc;
  3. use Hyperf\RpcClient\AbstractServiceClient;
  4. class PublicRpcService extends AbstractServiceClient implements PublicRpcServiceInterface
  5. {
  6. /**
  7. * 定义对应服务提供者的服务名称
  8. * @var string
  9. */
  10. protected string $serviceName = 'PublicRpcService';
  11. /**
  12. * 定义对应服务提供者的服务协议
  13. * @var string
  14. */
  15. protected string $protocol = 'jsonrpc-http';
  16. /**
  17. * @param array $data
  18. * @return mixed
  19. */
  20. public function getDistrictList(array $data)
  21. {
  22. return $this->__request(__FUNCTION__, $data);
  23. }
  24. /**
  25. * @param array $data
  26. * @return mixed
  27. */
  28. public function getUserLevelList(array $data)
  29. {
  30. return $this->__request(__FUNCTION__, $data);
  31. }
  32. /**
  33. * 添加等级
  34. * @param array $data
  35. * @return array
  36. */
  37. public function addUserLevel(array $data)
  38. {
  39. return $this->__request(__FUNCTION__, $data);
  40. }
  41. /**
  42. * 删除等级
  43. * @param array $data
  44. * @return array
  45. */
  46. public function delUserLevel(array $data)
  47. {
  48. return $this->__request(__FUNCTION__, $data);
  49. }
  50. /**
  51. * 更新等级
  52. * @param array $data
  53. * @return array
  54. */
  55. public function updateUserLevel(array $data)
  56. {
  57. return $this->__request(__FUNCTION__, $data);
  58. }
  59. /**
  60. * @param array $data
  61. * @return array|mixed
  62. */
  63. public function getLetterOfComplaint(array $data)
  64. {
  65. return $this->__request(__FUNCTION__, $data);
  66. }
  67. /**
  68. * @param array $data
  69. * @return array|mixed
  70. */
  71. public function addLetterOfComplaint(array $data)
  72. {
  73. return $this->__request(__FUNCTION__, $data);
  74. }
  75. /**
  76. * @param array $data
  77. * @return array|mixed
  78. */
  79. public function upLetterOfComplaint(array $data)
  80. {
  81. return $this->__request(__FUNCTION__, $data);
  82. }
  83. /**
  84. * @param array $data
  85. * @return array|mixed
  86. */
  87. public function userUpLetterOfComplaint(array $data)
  88. {
  89. return $this->__request(__FUNCTION__, $data);
  90. }
  91. /**
  92. * @param array $data
  93. * @return array|mixed
  94. */
  95. public function getLetterOfComplaintInfo(array $data)
  96. {
  97. return $this->__request(__FUNCTION__, $data);
  98. }
  99. /**
  100. * @param array $data
  101. * @return array|mixed
  102. */
  103. public function delLetterOfComplaint(array $data)
  104. {
  105. return $this->__request(__FUNCTION__, $data);
  106. }
  107. /**
  108. * @param array $data
  109. * @return array|mixed
  110. */
  111. public function getLetterType(array $data)
  112. {
  113. return $this->__request(__FUNCTION__, $data);
  114. }
  115. /**
  116. * @param array $data
  117. * @return array|mixed
  118. */
  119. public function upLetterType(array $data)
  120. {
  121. return $this->__request(__FUNCTION__, $data);
  122. }
  123. /**
  124. * @param array $data
  125. * @return array|mixed
  126. */
  127. public function addLetterType(array $data)
  128. {
  129. return $this->__request(__FUNCTION__, $data);
  130. }
  131. /**
  132. * @param array $data
  133. * @return array|mixed
  134. */
  135. public function delLetterType(array $data)
  136. {
  137. return $this->__request(__FUNCTION__, $data);
  138. }
  139. /**
  140. * @param array $data
  141. * @return array|mixed
  142. */
  143. public function checkMeasure(array $data)
  144. {
  145. return $this->__request(__FUNCTION__, $data);
  146. }
  147. /**
  148. * @param array $data
  149. * @return array|mixed
  150. */
  151. public function getDepartment(array $data)
  152. {
  153. return $this->__request(__FUNCTION__, $data);
  154. }
  155. /**
  156. * @param array $data
  157. * @return array|mixed
  158. */
  159. public function getZhinengbumenList(array $data)
  160. {
  161. return $this->__request(__FUNCTION__, $data);
  162. }
  163. /**
  164. * @param array $data
  165. * @return array|mixed
  166. */
  167. public function addZhinengbumen(array $data)
  168. {
  169. return $this->__request(__FUNCTION__, $data);
  170. }
  171. /**
  172. * @param array $data
  173. * @return array|mixed
  174. */
  175. public function getZhinengbumen(array $data)
  176. {
  177. return $this->__request(__FUNCTION__, $data);
  178. }
  179. /**
  180. * @param array $data
  181. * @return array|mixed
  182. */
  183. public function getPidZhinengbumen(array $data)
  184. {
  185. return $this->__request(__FUNCTION__, $data);
  186. }
  187. /**
  188. * @param array $data
  189. * @return array|mixed
  190. */
  191. public function delZhinengbumen(array $data)
  192. {
  193. return $this->__request(__FUNCTION__, $data);
  194. }
  195. /**
  196. * @param array $data
  197. * @return array|mixed
  198. */
  199. public function modZhinengbumen(array $data)
  200. {
  201. return $this->__request(__FUNCTION__, $data);
  202. }
  203. public function getTemplateClass(array $data)
  204. {
  205. return $this->__request(__FUNCTION__, $data);
  206. }
  207. public function getTemplateList(array $data)
  208. {
  209. return $this->__request(__FUNCTION__, $data);
  210. }
  211. public function getTemplateInfo(array $data)
  212. {
  213. return $this->__request(__FUNCTION__, $data);
  214. }
  215. public function addTemplate(array $data)
  216. {
  217. return $this->__request(__FUNCTION__, $data);
  218. }
  219. public function delTemplate(array $data)
  220. {
  221. return $this->__request(__FUNCTION__, $data);
  222. }
  223. public function updateTemplate(array $data)
  224. {
  225. return $this->__request(__FUNCTION__, $data);
  226. }
  227. public function getSectorList(array $data)
  228. {
  229. return $this->__request(__FUNCTION__, $data);
  230. }
  231. public function getSectorInfo(array $data)
  232. {
  233. return $this->__request(__FUNCTION__, $data);
  234. }
  235. public function addSector(array $data)
  236. {
  237. return $this->__request(__FUNCTION__, $data);
  238. }
  239. public function delSector(array $data)
  240. {
  241. return $this->__request(__FUNCTION__, $data);
  242. }
  243. public function updateSector(array $data)
  244. {
  245. return $this->__request(__FUNCTION__, $data);
  246. }
  247. public function getComponentList(array $data)
  248. {
  249. return $this->__request(__FUNCTION__, $data);
  250. }
  251. public function getComponentInfo(array $data)
  252. {
  253. return $this->__request(__FUNCTION__, $data);
  254. }
  255. public function addComponent(array $data)
  256. {
  257. return $this->__request(__FUNCTION__, $data);
  258. }
  259. public function delComponent(array $data)
  260. {
  261. return $this->__request(__FUNCTION__, $data);
  262. }
  263. public function updateComponent(array $data)
  264. {
  265. return $this->__request(__FUNCTION__, $data);
  266. }
  267. public function getWebsiteTemplateList(array $data)
  268. {
  269. return $this->__request(__FUNCTION__, $data);
  270. }
  271. public function getWebsiteTemplateInfo(array $data)
  272. {
  273. return $this->__request(__FUNCTION__, $data);
  274. }
  275. public function getBuckets(array $data)
  276. {
  277. return $this->__request(__FUNCTION__, $data);
  278. }
  279. /**
  280. * @param array $data
  281. * @return array|mixed
  282. */
  283. public function uploadFile(array $data)
  284. {
  285. return $this->__request(__FUNCTION__, $data);
  286. }
  287. }