You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
621 B

  1. <?php
  2. namespace App\JsonRpc;
  3. use App\Service\v3\Interfaces\FeiePrintServiceInterface;
  4. use Hyperf\RpcServer\Annotation\RpcService;
  5. use Hyperf\Di\Annotation\Inject;
  6. /**
  7. * @RpcService(name="FeieService", protocol="jsonrpc-http", server="jsonrpc-http", publishTo="")
  8. * Class FeieService
  9. * @package App\JsonRpc
  10. */
  11. class FeieService implements PrintServiceInterface
  12. {
  13. /**
  14. * @Inject
  15. * @var FeiePrintServiceInterface
  16. */
  17. private $feieprintService;
  18. public function doPrint($oid)
  19. {
  20. // TODO: Implement doPrint() method.
  21. return $this->feieprintService->feiePrint($oid);
  22. }
  23. }