NewsService.php 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860
  1. <?php
  2. namespace App\JsonRpc;
  3. use Hyperf\RpcClient\AbstractServiceClient;
  4. class NewsService extends AbstractServiceClient implements NewsServiceInterface
  5. {
  6. /**
  7. * 定义对应服务提供者的服务名称
  8. * @var string
  9. */
  10. protected string $serviceName = 'NewsService';
  11. /**
  12. * 定义对应服务提供者的服务协议
  13. * @var string
  14. */
  15. protected string $protocol = 'jsonrpc-http';
  16. /**
  17. * @param array $data
  18. * @return mixed
  19. */
  20. public function getCategoryList(array $data)
  21. {
  22. return $this->__request(__FUNCTION__, $data);
  23. }
  24. /**
  25. * @param array $data
  26. * @return mixed
  27. */
  28. public function myCategoryList(array $data)
  29. {
  30. return $this->__request(__FUNCTION__, $data);
  31. }
  32. /**
  33. * @param array $data
  34. * @return array
  35. */
  36. public function categoryList(array $data)
  37. {
  38. return $this->__request(__FUNCTION__, $data);
  39. }
  40. /**
  41. * @param array $data
  42. * @return array
  43. */
  44. public function addCategory(array $data)
  45. {
  46. return $this->__request(__FUNCTION__, $data);
  47. }
  48. /**
  49. * @param array $data
  50. * @return array
  51. */
  52. public function delCategory(array $data)
  53. {
  54. return $this->__request(__FUNCTION__, $data);
  55. }
  56. /**
  57. * @param array $data
  58. * @return array
  59. */
  60. public function updateCategory(array $data)
  61. {
  62. return $this->__request(__FUNCTION__, $data);
  63. }
  64. /**
  65. * @param array $data
  66. * @return array
  67. */
  68. public function getArticleList(array $data)
  69. {
  70. return $this->__request(__FUNCTION__, $data);
  71. }
  72. /**
  73. * @param array $data
  74. * @return array
  75. */
  76. public function addArticle(array $data)
  77. {
  78. return $this->__request(__FUNCTION__, $data);
  79. }
  80. public function getArticleCommend(array $data)
  81. {
  82. return $this->__request(__FUNCTION__, $data);
  83. }
  84. /**
  85. * @param array $data
  86. * @return array
  87. */
  88. public function delArticle(array $data)
  89. {
  90. return $this->__request(__FUNCTION__, $data);
  91. }
  92. /**
  93. * @param array $data
  94. * @return array
  95. */
  96. public function updateArticle(array $data)
  97. {
  98. return $this->__request(__FUNCTION__, $data);
  99. }
  100. /**
  101. * @param array $data
  102. * @return array
  103. */
  104. public function getArticleInfo(array $data)
  105. {
  106. return $this->__request(__FUNCTION__, $data);
  107. }
  108. /**
  109. * @param array $data
  110. * @return array|mixed
  111. */
  112. public function getCategoryInfo(array $data)
  113. {
  114. return $this->__request(__FUNCTION__, $data);
  115. }
  116. /**
  117. * 更新资讯状态
  118. * @param array $data
  119. * @return mixed
  120. */
  121. public function upArticleStatus(array $data)
  122. {
  123. return $this->__request(__FUNCTION__, $data);
  124. }
  125. /**
  126. * @param array $data
  127. * @return array
  128. */
  129. public function getWebsiteArticlett(array $data)
  130. {
  131. return $this->__request(__FUNCTION__, $data);
  132. }
  133. /**
  134. * @param array $data
  135. * @return array
  136. */
  137. public function getWebsiteModelArticles(array $data)
  138. {
  139. return $this->__request(__FUNCTION__, $data);
  140. }
  141. //20250226 产品列表
  142. public function getGoodList(array $data)
  143. {
  144. return $this->__request(__FUNCTION__, $data);
  145. }
  146. public function getGoodInfo(array $data)
  147. {
  148. return $this->__request(__FUNCTION__, $data);
  149. }
  150. public function addGood(array $data)
  151. {
  152. return $this->__request(__FUNCTION__, $data);
  153. }
  154. public function delGood(array $data)
  155. {
  156. return $this->__request(__FUNCTION__, $data);
  157. }
  158. public function updateGood(array $data)
  159. {
  160. return $this->__request(__FUNCTION__, $data);
  161. }
  162. //20250226 产品列表
  163. //20250306 求职信息
  164. public function getJobHuntingList(array $data)
  165. {
  166. return $this->__request(__FUNCTION__, $data);
  167. }
  168. public function getJobHuntingApply(array $data)
  169. {
  170. return $this->__request(__FUNCTION__, $data);
  171. }
  172. public function getJobHuntingInfo(array $data)
  173. {
  174. return $this->__request(__FUNCTION__, $data);
  175. }
  176. public function addJobHunting(array $data)
  177. {
  178. return $this->__request(__FUNCTION__, $data);
  179. }
  180. public function delJobHunting(array $data)
  181. {
  182. return $this->__request(__FUNCTION__, $data);
  183. }
  184. public function updateJobHunting(array $data)
  185. {
  186. return $this->__request(__FUNCTION__, $data);
  187. }
  188. public function getJobHuntingData(array $data)
  189. {
  190. return $this->__request(__FUNCTION__, $data);
  191. }
  192. //20250306 求职信息
  193. /**
  194. * @param array $data
  195. * @return array|mixed
  196. */
  197. public function checkCategoryName(array $data)
  198. {
  199. return $this->__request(__FUNCTION__, $data);
  200. }
  201. /**
  202. * @param array $data
  203. * @return array
  204. */
  205. public function getWebsiteArticleList(array $data)
  206. {
  207. return $this->__request(__FUNCTION__, $data);
  208. }
  209. /**
  210. * @param array $data
  211. * @return array
  212. */
  213. public function selectWebsiteArticleInfo(array $data)
  214. {
  215. return $this->__request(__FUNCTION__, $data);
  216. }
  217. /**
  218. * @param array $data
  219. * @return mixed
  220. */
  221. public function getWebsiteSurvey(array $data)
  222. {
  223. return $this->__request(__FUNCTION__, $data);
  224. }
  225. /**
  226. * @param array $data
  227. * @return mixed
  228. */
  229. public function addWebsiteSurveyOption(array $data)
  230. {
  231. return $this->__request(__FUNCTION__, $data);
  232. }
  233. /**
  234. * @param array $data
  235. * @return mixed
  236. */
  237. public function addWebsiteSurveyVote(array $data)
  238. {
  239. return $this->__request(__FUNCTION__, $data);
  240. }
  241. /**
  242. * @param array $data
  243. * @return mixed
  244. */
  245. public function getSurveyList(array $data)
  246. {
  247. return $this->__request(__FUNCTION__, $data);
  248. }
  249. /**
  250. * @param array $data
  251. * @return mixed
  252. */
  253. public function getSurveyInfo(array $data)
  254. {
  255. return $this->__request(__FUNCTION__, $data);
  256. }
  257. /**
  258. * @param array $data
  259. * @return mixed
  260. */
  261. public function selectWebsiteArticle(array $data)
  262. {
  263. return $this->__request(__FUNCTION__, $data);
  264. }
  265. /**
  266. * @param array $data
  267. * @return mixed
  268. */
  269. public function getWebsiteCatidArticle(array $data)
  270. {
  271. return $this->__request(__FUNCTION__, $data);
  272. }
  273. /**
  274. * @param array $data
  275. * @return mixed
  276. */
  277. public function getWebsiteAllArticle(array $data)
  278. {
  279. return $this->__request(__FUNCTION__, $data);
  280. }
  281. /**
  282. * @param array $data
  283. * @return mixed
  284. */
  285. public function getWebsiteArticles(array $data)
  286. {
  287. return $this->__request(__FUNCTION__, $data);
  288. }
  289. /**
  290. * @param array $data
  291. * @return mixed
  292. */
  293. public function getWebsiteshop(array $data)
  294. {
  295. return $this->__request(__FUNCTION__, $data);
  296. }
  297. /**
  298. * @param array $data
  299. * @return mixed
  300. */
  301. public function getWebsiteshopCat(array $data)
  302. {
  303. return $this->__request(__FUNCTION__, $data);
  304. }
  305. /**
  306. * @param array $data
  307. * @return mixed
  308. */
  309. public function getWebsiteshopInfo(array $data)
  310. {
  311. return $this->__request(__FUNCTION__, $data);
  312. }
  313. /**
  314. * @param array $data
  315. * @return mixed
  316. */
  317. public function getWebsiteshopList(array $data)
  318. {
  319. return $this->__request(__FUNCTION__, $data);
  320. }
  321. /**
  322. * @param array $data
  323. * @return mixed
  324. */
  325. public function getWebsiteBook(array $data)
  326. {
  327. return $this->__request(__FUNCTION__, $data);
  328. }
  329. /**
  330. * @param array $data
  331. * @return mixed
  332. */
  333. public function getWebsiteBookList(array $data)
  334. {
  335. return $this->__request(__FUNCTION__, $data);
  336. }
  337. /**
  338. * @param array $data
  339. * @return mixed
  340. */
  341. public function getWebsiteBookInfo(array $data)
  342. {
  343. return $this->__request(__FUNCTION__, $data);
  344. }
  345. /**
  346. * @param array $data
  347. * @return mixed
  348. */
  349. public function getWebsiteJob(array $data)
  350. {
  351. return $this->__request(__FUNCTION__, $data);
  352. }
  353. /**
  354. * @param array $data
  355. * @return mixed
  356. */
  357. public function getWebsiteJobList(array $data)
  358. {
  359. return $this->__request(__FUNCTION__, $data);
  360. }
  361. /**
  362. * @param array $data
  363. * @return mixed
  364. */
  365. public function getWebsiteJobInfo(array $data)
  366. {
  367. return $this->__request(__FUNCTION__, $data);
  368. }
  369. /**
  370. * @param array $data
  371. * @return mixed
  372. */
  373. public function getWebsiteJobApply(array $data)
  374. {
  375. return $this->__request(__FUNCTION__, $data);
  376. }
  377. /**
  378. * @param array $data
  379. * @return mixed
  380. */
  381. public function getWebsiteJobResume(array $data)
  382. {
  383. return $this->__request(__FUNCTION__, $data);
  384. }
  385. /**
  386. * @param array $data
  387. * @return mixed
  388. */
  389. public function test(array $data)
  390. {
  391. return $this->__request(__FUNCTION__, $data);
  392. }
  393. /**
  394. * @param array $data
  395. * @return mixed
  396. */
  397. public function getWebsiteJobRecruiting(array $data)
  398. {
  399. return $this->__request(__FUNCTION__, $data);
  400. }
  401. /**
  402. * @param array $data
  403. * @return mixed
  404. */
  405. public function checkWebsiteRoute(array $data)
  406. {
  407. return $this->__request(__FUNCTION__, $data);
  408. }
  409. //20250324 通知,公告,消息
  410. public function getNoticeList(array $data)
  411. {
  412. return $this->__request(__FUNCTION__, $data);
  413. }
  414. public function getNoticeInfo(array $data)
  415. {
  416. return $this->__request(__FUNCTION__, $data);
  417. }
  418. public function addNotice(array $data): array
  419. {
  420. return $this->__request(__FUNCTION__, $data);
  421. }
  422. public function updateNotice(array $data): array
  423. {
  424. return $this->__request(__FUNCTION__, $data);
  425. }
  426. public function deleteNotice(array $data): array
  427. {
  428. return $this->__request(__FUNCTION__, $data);
  429. }
  430. public function getMSG(array $data)
  431. {
  432. return $this->__request(__FUNCTION__, $data);
  433. }
  434. public function getComplaintList(array $data)
  435. {
  436. return $this->__request(__FUNCTION__, $data);
  437. }
  438. public function getComplaintInfo(array $data)
  439. {
  440. return $this->__request(__FUNCTION__, $data);
  441. }
  442. public function addComplaint(array $data): array
  443. {
  444. return $this->__request(__FUNCTION__, $data);
  445. }
  446. public function updateComplaint(array $data): array
  447. {
  448. return $this->__request(__FUNCTION__, $data);
  449. }
  450. public function deleteComplaint(array $data): array
  451. {
  452. return $this->__request(__FUNCTION__, $data);
  453. }
  454. public function updateJobHuntingStatus(array $data): array
  455. {
  456. return $this->__request(__FUNCTION__, $data);
  457. }
  458. public function updateNoticeStatus(array $data): array
  459. {
  460. return $this->__request(__FUNCTION__, $data);
  461. }
  462. public function updateComplaintStatus(array $data): array
  463. {
  464. return $this->__request(__FUNCTION__, $data);
  465. }
  466. public function updateGoodStatus(array $data): array
  467. {
  468. return $this->__request(__FUNCTION__, $data);
  469. }
  470. public function getDUser(array $data): array
  471. {
  472. return $this->__request(__FUNCTION__, $data);
  473. }
  474. //20250324 通知,公告,消息
  475. /**
  476. * @param array $data
  477. * @return mixed
  478. */
  479. public function getJobRecruitingList(array $data)
  480. {
  481. return $this->__request(__FUNCTION__, $data);
  482. }
  483. /**
  484. * @param array $data
  485. * @return mixed
  486. */
  487. public function getWebsiteJobSelect(array $data)
  488. {
  489. return $this->__request(__FUNCTION__, $data);
  490. }
  491. /**
  492. * @param array $data
  493. * @return mixed
  494. */
  495. public function getWebsiteCatidshop(array $data)
  496. {
  497. return $this->__request(__FUNCTION__, $data);
  498. }
  499. /**
  500. * @param array $data
  501. * @return mixed
  502. */
  503. public function getWebsiteLevelJob(array $data)
  504. {
  505. return $this->__request(__FUNCTION__, $data);
  506. }
  507. /**
  508. * @param array $data
  509. * @return mixed
  510. */
  511. public function getWebsiteCompany(array $data)
  512. {
  513. return $this->__request(__FUNCTION__, $data);
  514. }
  515. /**
  516. * @param array $data
  517. * @return mixed
  518. */
  519. public function getWebsiteCompanyInfo(array $data)
  520. {
  521. return $this->__request(__FUNCTION__, $data);
  522. }
  523. /**
  524. * @param array $data
  525. * @return mixed
  526. */
  527. public function getWebsiteCompanyList(array $data)
  528. {
  529. return $this->__request(__FUNCTION__, $data);
  530. }
  531. /**
  532. * @param array $data
  533. * @return mixed
  534. */
  535. public function getWebsiteProject(array $data)
  536. {
  537. return $this->__request(__FUNCTION__, $data);
  538. }
  539. /**
  540. * @param array $data
  541. * @return mixed
  542. */
  543. public function getWebsiteProjectInfo(array $data)
  544. {
  545. return $this->__request(__FUNCTION__, $data);
  546. }
  547. /**
  548. * @param array $data
  549. * @return mixed
  550. */
  551. public function getWebsiteProjectList(array $data)
  552. {
  553. return $this->__request(__FUNCTION__, $data);
  554. }
  555. /**
  556. * @param array $data
  557. * @return mixed
  558. */
  559. public function getJobRecruitingInfo(array $data)
  560. {
  561. return $this->__request(__FUNCTION__, $data);
  562. }
  563. /**
  564. * @param array $data
  565. * @return mixed
  566. */
  567. public function addJobRecruiting(array $data)
  568. {
  569. return $this->__request(__FUNCTION__, $data);
  570. }
  571. /**
  572. * @param array $data
  573. * @return mixed
  574. */
  575. public function getJobRecruitingArea(array $data)
  576. {
  577. return $this->__request(__FUNCTION__, $data);
  578. }
  579. /**
  580. * @param array $data
  581. * @return mixed
  582. */
  583. public function getIndustry(array $data)
  584. {
  585. return $this->__request(__FUNCTION__, $data);
  586. }
  587. /**
  588. * @param array $data
  589. * @return mixed
  590. */
  591. public function getPositionList(array $data)
  592. {
  593. return $this->__request(__FUNCTION__, $data);
  594. }
  595. /**
  596. * @param array $data
  597. * @return mixed
  598. */
  599. public function getJobNature(array $data)
  600. {
  601. return $this->__request(__FUNCTION__, $data);
  602. }
  603. /**
  604. * @param array $data
  605. * @return mixed
  606. */
  607. public function getExperience(array $data)
  608. {
  609. return $this->__request(__FUNCTION__, $data);
  610. }
  611. /**
  612. * @param array $data
  613. * @return mixed
  614. */
  615. public function getEducation(array $data)
  616. {
  617. return $this->__request(__FUNCTION__, $data);
  618. }
  619. /**
  620. * @param array $data
  621. * @return mixed
  622. */
  623. public function getSalary(array $data)
  624. {
  625. return $this->__request(__FUNCTION__, $data);
  626. }
  627. /**
  628. * @param array $data
  629. * @return mixed
  630. */
  631. public function getLanguage(array $data)
  632. {
  633. return $this->__request(__FUNCTION__, $data);
  634. }
  635. /**
  636. * @param array $data
  637. * @return mixed
  638. */
  639. public function getLevel(array $data)
  640. {
  641. return $this->__request(__FUNCTION__, $data);
  642. }
  643. /**
  644. * @param array $data
  645. * @return mixed
  646. */
  647. public function getCompanySize(array $data)
  648. {
  649. return $this->__request(__FUNCTION__, $data);
  650. }
  651. /**
  652. * @param array $data
  653. * @return mixed
  654. */
  655. public function getCompanyNature(array $data)
  656. {
  657. return $this->__request(__FUNCTION__, $data);
  658. }
  659. /**
  660. * @param array $data
  661. * @return mixed
  662. */
  663. public function upJobRecruiting(array $data)
  664. {
  665. return $this->__request(__FUNCTION__, $data);
  666. }
  667. /**
  668. * @param array $data
  669. * @return mixed
  670. */
  671. public function delJobRecruiting(array $data)
  672. {
  673. return $this->__request(__FUNCTION__, $data);
  674. }
  675. /**
  676. * @param array $data
  677. * @return mixed
  678. */
  679. public function getJobCompany(array $data)
  680. {
  681. return $this->__request(__FUNCTION__, $data);
  682. }
  683. /**
  684. * @param array $data
  685. * @return mixed
  686. */
  687. public function upJobCompany(array $data)
  688. {
  689. return $this->__request(__FUNCTION__, $data);
  690. }
  691. /**
  692. * @param array $data
  693. * @return mixed
  694. */
  695. public function checkJobRecruiting(array $data)
  696. {
  697. return $this->__request(__FUNCTION__, $data);
  698. }
  699. /**
  700. * @param array $data
  701. * @return mixed
  702. */
  703. public function getRecruitingList(array $data)
  704. {
  705. return $this->__request(__FUNCTION__, $data);
  706. }
  707. /**
  708. * @param array $data
  709. * @return mixed
  710. */
  711. public function getRecruitingInfo(array $data)
  712. {
  713. return $this->__request(__FUNCTION__, $data);
  714. }
  715. /**
  716. * @param array $data
  717. * @return mixed
  718. */
  719. public function getJobResumeList(array $data)
  720. {
  721. return $this->__request(__FUNCTION__, $data);
  722. }
  723. //20250422 书刊音像
  724. public function getBookList(array $data)
  725. {
  726. return $this->__request(__FUNCTION__, $data);
  727. }
  728. public function updateBook(array $data)
  729. {
  730. return $this->__request(__FUNCTION__, $data);
  731. }
  732. public function addBook(array $data)
  733. {
  734. return $this->__request(__FUNCTION__, $data);
  735. }
  736. public function getBookInfo(array $data)
  737. {
  738. return $this->__request(__FUNCTION__, $data);
  739. }
  740. public function deleteBook(array $data)
  741. {
  742. return $this->__request(__FUNCTION__, $data);
  743. }
  744. public function updateBookStatus(array $data)
  745. {
  746. return $this->__request(__FUNCTION__, $data);
  747. }
  748. //20250422 书刊音像
  749. public function myApplyList(array $data): array
  750. {
  751. return $this->__request(__FUNCTION__, $data);
  752. }
  753. /**
  754. * @param array $data
  755. * @return array
  756. */
  757. public function getWebsiteTsbb(array $data): array
  758. {
  759. return $this->__request(__FUNCTION__, $data);
  760. }
  761. public function getWebsiteTsbbList(array $data): array
  762. {
  763. return $this->__request(__FUNCTION__, $data);
  764. }
  765. public function getWebsiteTsbbDetail(array $data): array
  766. {
  767. return $this->__request(__FUNCTION__, $data);
  768. }
  769. public function getWebsiteNwHomeList(array $data): array
  770. {
  771. return $this->__request(__FUNCTION__, $data);
  772. }
  773. public function getCompanyList(array $data): array
  774. {
  775. return $this->__request(__FUNCTION__, $data);
  776. }
  777. public function addCompany(array $data): array
  778. {
  779. return $this->__request(__FUNCTION__, $data);
  780. }
  781. public function upCompany(array $data): array
  782. {
  783. return $this->__request(__FUNCTION__, $data);
  784. }
  785. public function delCompany(array $data): array
  786. {
  787. return $this->__request(__FUNCTION__, $data);
  788. }
  789. public function checkCompany(array $data): array
  790. {
  791. return $this->__request(__FUNCTION__, $data);
  792. }
  793. public function getCompanyInfo(array $data): array
  794. {
  795. return $this->__request(__FUNCTION__, $data);
  796. }
  797. public function getProjectList(array $data): array
  798. {
  799. return $this->__request(__FUNCTION__, $data);
  800. }
  801. public function addProject(array $data): array
  802. {
  803. return $this->__request(__FUNCTION__, $data);
  804. }
  805. public function checkProject(array $data): array
  806. {
  807. return $this->__request(__FUNCTION__, $data);
  808. }
  809. public function delProject(array $data): array
  810. {
  811. return $this->__request(__FUNCTION__, $data);
  812. }
  813. public function upProject(array $data): array
  814. {
  815. return $this->__request(__FUNCTION__, $data);
  816. }
  817. public function getProjectInfo(array $data): array
  818. {
  819. return $this->__request(__FUNCTION__, $data);
  820. }
  821. /**
  822. * @param array $data
  823. * @return mixed
  824. */
  825. public function getWebsiteCategoryJob(array $data)
  826. {
  827. return $this->__request(__FUNCTION__, $data);
  828. }
  829. }